Converting EPS to jpg with jagged edge issue

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?".
janebrandhub
Posts: 17
Joined: 2017-05-31T20:26:05-07:00
Authentication code: 1151

Re: Converting EPS to jpg with jagged edge issue

Post by janebrandhub »

Tried, but that doesn't help much with -quality 90 still double size as the one generated from photoshop.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Converting EPS to jpg with jagged edge issue

Post by fmw42 »

Keep lowering the quality value until you get the right size. Or add -strip at the end.
janebrandhub
Posts: 17
Joined: 2017-05-31T20:26:05-07:00
Authentication code: 1151

Re: Converting EPS to jpg with jagged edge issue

Post by janebrandhub »

Thank you. If there are no other way to reduce the image size
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Converting EPS to jpg with jagged edge issue

Post by fmw42 »

I suggested you use -strip right before writing the jpg output and see if that helps. What quality setting is Photoshop using? Have you tried using -quality 80 or 70 (namely something smaller) until you get a good file size.

You can also try varying some of the defines at http://www.imagemagick.org/Usage/formats/#jpg_write, such as the q-table or the sampling-factor.

Photoshop probably has some special q-table or other optimizations. Imagemagick relies upon libjpeg, so it is really out of IM's control other than these various defines.

You can also try some non-Imagemagick tools to try to optimize the file size. See http://www.imagemagick.org/Usage/formats/#jpg_non-im
Post Reply