Removing backgound by applying clipping path
Posted: 2007-10-11T00:55:29-07:00
Hi
I'm trying to remove the background of an image by using the photoshop clipping path embedded in the image, but ImageMagick seems to ignore the clippping path
Here is what i did:
Resulting image can be seen here: http://www.dortheogbenny.dk/test.png (14Mb)
The resulting image does not have any white background.
I have tried with all binary versions for windows from the Imagemagick Website - all with the same result. Could anyone give me a hint about what I do wrong?
I'm trying to remove the background of an image by using the photoshop clipping path embedded in the image, but ImageMagick seems to ignore the clippping path
Here is what i did:
- Downloaded and installed ImageMagick-6.3.6-1-Q8-windows-static.exe
- Downloaded sample file from http://www.dortheogbenny.dk/test.tif (11Mb)
- Ran command
Code: Select all
"c:\Program Files\ImageMagick-6.3.6-Q8\convert.exe" test.tif -colorspace RGB +clip-path #1 -fill white -draw "color 0,0 reset" test.png
Code: Select all
convert.exe: test.tif: unknown field with tag 34152 (0x8568) encountered. `TIFFR
eadDirectory'.
convert.exe: Non-conforming drawing primitive definition `color'.
The resulting image does not have any white background.
I have tried with all binary versions for windows from the Imagemagick Website - all with the same result. Could anyone give me a hint about what I do wrong?