On 01/20/2011 11:40 PM, Ray Tayek wrote:
> At 03:06 AM 1/20/2011, you wrote:
>> On 01/20/2011 02:24 AM, Ray Tayek wrote:
>> > hi, i have a lot of eps files that i need to convert to gif (or png).
>> > i was trying to use image magic, but not having any luck. ...
>> Not with Gimp... this is the kind of work ImageMagick's convert is meant
>> for. Might be as simple as:
>> convert image.eps image.gif
>> but you also have a very large set of options...
> yes, i tried a bunch of them at http://tayek.com/bobt/images/gif.html
> but none of them are very good
All of them produce an image with less pixels than the conversion in
Gimp... (235x235 instead of 326x326).
If you look at the EPS it specifies a 235x235 bounding box, and a scale
factor to shoehorn the diagram in it. If you edit the EPS to work with a
1:1 scale and a sufficient bounding box (2 lines to edit, no hard to
script), the output of convert is OK. You can likely ask convert to
scale down the graphic at that point and get correct results, scaling is
always best done as the last thing in the process.
Gimp-user mailing list