Page 1 of 1

Clipping path wrong

Posted: 2014-11-10T10:02:32-07:00
by Acconut
Hello Imagemagick-Community,

I'm trying to convert a TIFF image which contains a clipping path (seen in the output of `identify -verbose input.tif`) while negating the parts defined by the clipping path using following command:

Code: Select all

convert \
-clip \
-negate \
-size 700x400 ./input.tif \
-resize 700x400 \
png:./output.png
The imagemagick version is 6.8.7-10 (seen output from `convert -list configure`: https://gist.githubusercontent.com/Acco ... -configure) on Ubuntu 12.04 and has support for TIFF and SVG:

Code: Select all

     MSVG  SVG       rw+   ImageMagick's own SVG internal renderer
      SVG  SVG       rw+   Scalable Vector Graphics (XML 2.7.8)
     SVGZ  SVG       rw+   Compressed Scalable Vector Graphics (XML 2.7.8)

     PTIF* TIFF      rw+   Pyramid encoded TIFF
     TIFF* TIFF      rw+   Tagged Image File Format (LIBTIFF, Version 4.0.3)
   TIFF64* TIFF      rw-   Tagged Image File Format (64-bit) (LIBTIFF, Version 4.0.3)
The output is
Image

but we expected it to be
Image

This image seems to be correct and was created using the same command with imagemagick version 6.5.1-0.

You can find the input and output image as well as the command's output in a Gist: https://gist.github.com/Acconut/562327c6baedffda142d

I assume this is a problem with the clipping path but I apprechiate every help.

Re: Clipping path wrong

Posted: 2014-11-10T10:23:45-07:00
by Acconut
I'm sorry, there may be a problem with the fixture.
Until I clarified that it's correct please don't care about it.