PNG file loading error in ImageMagick
- by khanhhh89
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!