Search code examples
imagemagickperspective

Pb with ImageMagick command


I'm trying to apply this code in my ".bat" file and my ASP.net projet:

convert checks.png -matte -virtual-pixel transparent -distort Perspective '0,0,0,0  0,90,0,90  90,0,90,25  90,90,90,65' checks_pers.png

The problem is that the result is like the original, no transformation to see, but i want to have a 3D Cover. I also tried many examples of the tutorial and they work only the distort Perspective?

I installed this version of ImageMagick : ImageMagick-6.7.2-0-Q16-windows-dll


Solution

  • (Answer pulled from OP's comment above)

    In Windows we must use double quotes:

    convert checks.png -matte -virtual-pixel transparent -distort Perspective "0,0,0,0  0,90,0,90  90,0,90,25  90,90,90,65" checks_pers.png