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
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)
but we expected it to be
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.