Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Unable to load png files

Help
Lobo
2012-07-27
2013-05-02
  • Lobo
    Lobo
    2012-07-27

    Hi,

    I'm using the current DevilLib (Version 1.7.8) and if I want to load a simple 512x256 px png file (easy created with MS Paint and without any transparency) I get the following error code: 1507 and the method ilGetString( err ) returns "null".

    I look also in the manual for this error but the only explanation I've found was:
    IL_LIB_PNG_ERROR
        An error occurred in the libpng library.

    Which is not very helpful.

    I tried to read the png file in a c++ programm and tried to load the file with ilLoadImage()

    Have anyone an idea what I'm doing wrong, because so far as I know can devil load png files?!

    Thx and best regards,
    Lobo