EPS to GIF quality

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
hendrickst
Posts: 11
Joined: 2011-04-06T07:47:00-07:00
Authentication code: 8675308

Re: EPS to GIF quality

Post by hendrickst »

I think I'm where I need to go. It appears that most of the problems were related to the EPS file. I was able to go back to our source and export a JPG. Transformation using that came out cleaner and maintained the line weights.

Thank you for your help. Hopefully my future postings, if there are any, will be clearer from the get go.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: EPS to GIF quality

Post by fmw42 »

Note JPG is a lossy format, so it is possible your lines may not look the best. Have you tried PNG or TIFF? I still don't know why GIF does not work.
hendrickst
Posts: 11
Joined: 2011-04-06T07:47:00-07:00
Authentication code: 8675308

Re: EPS to GIF quality

Post by hendrickst »

To clarify, I'm still outputting a GIF. I'm just starting with a JPG instead of an EPS. It appears that there was a problem with Imagemagick recognizing the line size from the original EPS.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: EPS to GIF quality

Post by anthony »

You do realise that you are trying to do you 'fuzz' color matching to a CMYK image?

Add a -colorspace RGB and all should work fine!



PS: to preserve anti-aliasing use a -density -resample technique on the SVG.

convert -density 288 Sample.eps -resample 72 -colorspace RGB show:

However you want GIF, are you really wanting GIF transparency too?
GIF transparency is purely boolean. That is only ON and OFF, and it looks horrible!
PNG may be better!

convert -density 288 Sample.eps -resample 72 -colorspace RGB \
-normalize -negate -background black -alpha shape show:
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
hendrickst
Posts: 11
Joined: 2011-04-06T07:47:00-07:00
Authentication code: 8675308

Re: EPS to GIF quality

Post by hendrickst »

With your help I finally got the GIF where I think I need it (still awaiting for approval). In regards to GIF, I didn't pick nor would I if I had a choice. When I was first asked I immediately asked about PNG instead and was told no. Funny part is that yesterday they said that was a fall-back file type. Oh well.

Thanks for your help.
Post Reply