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
-trim works on my machine but not the server
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: -trim works on my machine but not the server
Check that the version numbers of IM is correct. typically a Server uses a very very OLD version of IM unless some user complains.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: -trim works on my machine but not the server
Yep, I did complain so they are using a new version but still I have issues.
My laptop:
Version: ImageMagick 6.4.7 2008-12-17 Q16 http://www.imagemagick.org
Server:
Version: ImageMagick 6.4.8 2009-01-07 Q16 http://www.imagemagick.org
Like I said, even though my laptop is one point behind, it is the one that works how I want.
My laptop:
Version: ImageMagick 6.4.7 2008-12-17 Q16 http://www.imagemagick.org
Server:
Version: ImageMagick 6.4.8 2009-01-07 Q16 http://www.imagemagick.org
Like I said, even though my laptop is one point behind, it is the one that works how I want.