Hello all,

I have been having issues with clipping paths using ImageMagick 6.3.2. I searched the list archives and all over the net this morning but I couldn't find the answer so I figured I would. Here are the steps I take to attempt to clip an image:

* I created these two test files

PSD version: http://cole.nitroy.com/Files/Temp/Test.psd
TIF version: http://cole.nitroy.com/Files/Temp/Test.tiff

* To test the PSD I run:

$ convert Test.psd -clip Output.tiff
$ convert: no clip path defined `Test.psd': Bad file descriptor.

* This creates Output.tiff but no part of the image has been clipped so this is obviously a failed method.
* I will then try testing the tiff version instead with the command:

$ convert Test.tiff -clip Output.tiff

* This returns no errors or warnings but I get the same Output.tiff. Nothing clipped, also a failed method. * One final test, I saw someone somewhere had used a different method for clipping so I run this command:

$ convert Test.tiff -fill white -draw "color 0 0 reset" -clip -draw "Image Copy 0,0 0,0 test.tiff" Output.tiff

* This creates a completely black image with no clipping done at all.

I assumed that this is how the -clip option works. Does anyone have any input on why I am (not) getting a clipped file on output? Is this a bug?

Thanks in advance,

Coleman Nitroy
[EMAIL PROTECTED]
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to