Page 2 of 2

Re: Converting EPS to jpg with jagged edge issue

Posted: 2017-08-31T20:20:13-07:00
by janebrandhub
Tried, but that doesn't help much with -quality 90 still double size as the one generated from photoshop.

Re: Converting EPS to jpg with jagged edge issue

Posted: 2017-08-31T20:54:56-07:00
by fmw42
Keep lowering the quality value until you get the right size. Or add -strip at the end.

Re: Converting EPS to jpg with jagged edge issue

Posted: 2017-09-06T21:05:38-07:00
by janebrandhub
Thank you. If there are no other way to reduce the image size

Re: Converting EPS to jpg with jagged edge issue

Posted: 2017-09-06T21:34:19-07:00
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