SavePixmapPNG creating empty files?

BlitzMax Forums/BlitzMax Programming/SavePixmapPNG creating empty files?

JoshK(Posted 2012) [#1]
I get this warning:
libpng warning: Application built with libpng-1.2.12 but running with 1.5.9


And the saved PNG file is zero bytes.


GfK(Posted 2012) [#2]
Weird. Rebuild all mods?


skidracer(Posted 2012) [#3]
I don't get any warning and this code works fine on windows.

pixmap=CreatePixmap(32,32,PF_RGBA8888)
Print SavePixmapPNG(pixmap,"test.png")


Last edited 2012


*(Posted 2012) [#4]
I had this once I had as GfK stated do a complete rebuild of all modules that fixed it, it was due to a corrupt mod.


JoshK(Posted 2012) [#5]
The problem is bah.freeimage.