I have a tif-image with a path inside which ist created in Photoshop.
If i tell convert to use the path as clippingpath with:
Code: Select all
convert -clip -negate path.tif path.png
I have uploaded the Images:
Source-TIF with Path:
http://demo.flyer-ex.de/imagemagick/path.tif
Target-PNG with unexpected interpretation of the Clipping-Path:
http://demo.flyer-ex.de/imagemagick/path.png
Expected target-PNG:
http://demo.flyer-ex.de/imagemagick/path_expected.png
I'm using Windows XP with following Version of Imagemagick:
Code: Select all
Version: ImageMagick 6.3.3 03/30/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
Code: Select all
Clipping path:
<?xml version="1.0" encoding="iso-8859-1"?>
<svg width="800" height="800">
<g>
<path style="fill:#00000000;stroke:#00000000;stroke-width:0;stroke-antialiasing:false" d="
M 406,88
C 468.327,114.997 530.673,142.003 593,169
C 587.001,236.327 580.999,303.673 575,371
C 508.673,385.998 442.327,401.001 376,416
C 341.337,358.006 306.663,299.994 272,242
C 316.662,190.672 361.338,139.328 406,88 Z
"/>
</g>
</svg>
Or have i misunderstood the meaning of the Parameter -clip ?
Greetings
Thimo