Weird clip path behaviour
Posted: 2007-05-30T08:29:54-07:00
I'm trying to update an application using ImageMagick 5.5.7 to something a bit more up to date. This application needs to convert images in EPS with a clipping path to PNG (with transparency), using the clipping path to define the transparent region. It uses a command line like:
This works using 5.5.7 on Windows (and on 5.4.4 in a Debian Woody VM).
Using 6.3.4 (self-compiled on Debian, and on Windows) I get:
...and the image is created, but is black where it should be transparent.
Using 6.2.4 from Debian testing I sometimes get the above error, and sometimes none (but in that case the image is not clipped). It seems to depend on the image.
I'm afraid I can't post the images I'm using publicly, but can email them.
Code: Select all
$ convert -clip -draw "matte 0,0 floodfill" test.eps test.png
Using 6.3.4 (self-compiled on Debian, and on Windows) I get:
Code: Select all
$ convert -clip -draw "matte 0,0 floodfill" test.eps test.png
convert: Segment stack overflow `test.eps'.
Using 6.2.4 from Debian testing I sometimes get the above error, and sometimes none (but in that case the image is not clipped). It seems to depend on the image.
I'm afraid I can't post the images I'm using publicly, but can email them.