Png Image Did Not Start With Ihdr. I thought maybe it could be something with the server. Png file signature.
It supports windows xp and higher. This signature indicates that the remainder of the file contains a single png image consisting of a series of chunks beginning with an ihdr chunk and ending with an iend chunk. However if the decoder wishes to recover the original data at its original precision this can be done by right shifting the stored samples the stored palette entries for an indexed color image.
Note that the png 1 0 and 1 1 specifications define only a single allowed value 0 for either the compression type or the filtering method.
The output of the code in console is. A quick look at generate map cpp l682 png hpp l21 and image base hpp l23 suggest that similar issues may still be possible to trigger. This is an optional chunk type meaning that not all png files will specify it. On 32 bit systems it s int32 and on 64 bit systems it s int64 so on my machine i am converting int64 to uint32 because i am running a 64 bit os.