Difference in smoothness of clip border
Posted: 2013-09-30T05:13:02-07:00
Hi,
I'm using a command like this for applying a clip path named 'det' when converting an eps to png, to keep background transparent:
This works very well on my dev computer (gentoo), but gives crispy edges on the client machine (ubuntu 12.04)
I tried with the same imagemagick version on both machines : 6.8.7-0 (I also tried with 6.8.6-8)
Both are compiled without rsvg, and give the same output for :
except for the XML version which is 2.7.8 on the ubuntu box
I tried with -antialias, with no change.
What could lead to this difference?
I can provide files via private message only.
--------
Another strange point I noticed: if I make the same command on a server which locale is fr_FR.UTF-8, I get this error:
which means : Image size differs
If I add LC_ALL=C at the beginning, the error disappears and it works correctly.
Maybe a issue with decimal separator?
I'm using a command like this for applying a clip path named 'det' when converting an eps to png, to keep background transparent:
Code: Select all
convert -verbose -units PixelsPerInch -density 1890 2315.eps -profile icc/Photoshop5DefaultCMYK.icc -profile icc/sRGB_IEC61966-2-1_black_scaled.icc -alpha transparent -clip-path det -alpha opaque -resize 1000x1000 2315.png
I tried with the same imagemagick version on both machines : 6.8.7-0 (I also tried with 6.8.6-8)
Both are compiled without rsvg, and give the same output for
Code: Select all
convert -list format | grep -i svg
Code: Select all
MSVG SVG rw+ ImageMagick's own SVG internal renderer
SVG SVG rw+ Scalable Vector Graphics (XML 2.9.1)
SVGZ SVG rw+ Compressed Scalable Vector Graphics (XML 2.9.1)
I tried with -antialias, with no change.
What could lead to this difference?
I can provide files via private message only.
--------
Another strange point I noticed: if I make the same command on a server which locale is fr_FR.UTF-8, I get this error:
Code: Select all
convert: différences dans la taille de l'image `2315.eps' @ error/image.c/SetImageClipMask/2395.
If I add LC_ALL=C at the beginning, the error disappears and it works correctly.
Maybe a issue with decimal separator?