First this error is not your module or your library in fault, it's the libpng library fault.
Since libpng 1.6 release, the library became more aggresive about incorrect iCCP data chunks. To fix that problem, you could go to a prior version or modify the images so that the iCCP chunk is removed.
Install ImageMagick with your packet manager: