Fixing fuzzy or blurry and distorted MEME logo PNG images

260 views
Skip to first unread message

CharlesEGrant

unread,
Oct 26, 2012, 2:46:11 PM10/26/12
to meme-...@googlegroups.com
Several users have reported getting distorted PNG versions of their logograms. Typically the failed images are only black and white, with very low resolution letters, tilted to the right, and stretched. This only seems to occur with certain versions of the ImageMagick toolkit. 

MEME depends on the ImageMagick 'convert' utility to generate the PNG logograms from the Encapsulated Postscript they start out in. Some versions of ImageMagick seem to have bugs in converting EPS to bitmapped formats like PNG. See for example the discussion here: http://www.imagemagick.org/discourse-server/viewtopic.php?t=8546. In particular, ImageMagick 6.2.8 seems to have this problem. The current version of ImageMagick is 6.6.3, and it works correctly. To resolve this problem you may want to upgrade your installation of ImageMagick. 

Note that if you install the new version to a different directory, you'll need to do a clean rebuild of the MEME Suite tools. If you have multiple copies of ImageMagick installed on your system you can specify which version of 'convert' to use by supplying the MEME Suite 'configure' script with the '--with-convert' option. For example 

./configure --prefix=/home/meme \ 
--with-convert=/usr/local/ImageMagick-6.6.3/bin. 

You can sometimes fix existing logo images by reconverting them, using the command: 

convert -colorspace RGB logo1.eps logo1.png

James Johnson

unread,
Apr 28, 2013, 9:08:46 PM4/28/13
to meme-...@googlegroups.com
Note that the more recent MEME Suite releases can generate the PNG logos with only Ghostscript and do not need ImageMagick. For this to work the installed version of Ghostscript must be greater than 9.
Reply all
Reply to author
Forward
0 new messages