-trim works on my machine but not the server
Posted: 2009-01-08T08:25:15-07:00
I've looked online and tried a bunch of stuff to solve this problem but can't, so here goes:
I am simply converting an EPS file to a PNG file and I want to trim the dead space (which for most of the EPS files is transparent background). It works fine on my macbook pro running the latest imagemagick I got via macports. But our server (which upgraded to the latest version when I told them about my issue) still does not do the trim. This is the basic command I'm running:
convert test.eps -trim -resize 300x100 -depth 8 -gravity center -extent 300x100 test_fill.png
I've uploaded some ZIP files of the correct results vs. the incorrect so you can see my problem. I figured someone here may have come across a problem like this before. I've tried adding +repage after -trim but that did nothing. Any ideas??
http://www.mediafire.com/file/rmf1ydvjy ... laptop.zip
http://www.mediafire.com/file/enmzotdti ... server.zip
I am simply converting an EPS file to a PNG file and I want to trim the dead space (which for most of the EPS files is transparent background). It works fine on my macbook pro running the latest imagemagick I got via macports. But our server (which upgraded to the latest version when I told them about my issue) still does not do the trim. This is the basic command I'm running:
convert test.eps -trim -resize 300x100 -depth 8 -gravity center -extent 300x100 test_fill.png
I've uploaded some ZIP files of the correct results vs. the incorrect so you can see my problem. I figured someone here may have come across a problem like this before. I've tried adding +repage after -trim but that did nothing. Any ideas??
http://www.mediafire.com/file/rmf1ydvjy ... laptop.zip
http://www.mediafire.com/file/enmzotdti ... server.zip