--- a/Source/FreeImage/PluginPNG.cpp +++ a/Source/FreeImage/PluginPNG.cpp @@ -37,7 +37,8 @@ // ---------------------------------------------------------- -#include "../LibPNG/png.h" +#define PNG_iTXt_SUPPORTED +#include // ----------------------------------------------------------