PNG file loading error in ImageMagick

Posted by khanhhh89 on Game Development See other posts from Game Development or by khanhhh89
Published on 2013-10-28T03:50:55Z Indexed on 2013/10/28 4:04 UTC
Read the original article Hit count: 262

Filed under:
|
|

I'm trying to understand the tutorial 16 at http://ogldev.atspace.co.uk, which requires the image processing library ImageMagick. But when I run the tutorial, I encountered an following error:

freeglut: failed to change scree settings
Error loading textures 'test.png': no decode delegates for this image format 'C:/../appdata/magick-6024a_cIJcw90t-j'@error/constitute.c/ReadImage/552

I searched for google and found that my ImageMagick library do not have PNG Delegaes, but when I checked for the information of ImageMagick, it sees PNG in its delegate lists.

Command line: convert -configure
Result: LIB_VERSION 0x687
DELEGATES: bzlib, freetype,  jpeg, jp2, lcms, png, tiff, x11, xml,  wmf, zlib

Could you explain to me this error, thanks so much!

© Game Development or respective owner

Related posts about opengl

Related posts about image