#82798 - hiddenface - Wed May 10, 2006 3:24 am
Hi,
I recently wanted to load sprites from png files and thus grabbed davr's packaged libpng_ds.zip and compiled it with devkitARM r18.
Everything seemed fine and loading small images is no problem.
But: If i try to load slightly larger pngs (e.g. 96x96) my program fails with an "invalid window size" error.
This message originates in zlib and I have no idea what to do about it.
Strange thing: when I use the precompiled libz.a from thoduv everything works as expected.
I tried several devkitARM revisions back and that didn't change anything.
I'm kinda clueless.
Any ideas?
Thanks
Hiddenface
I recently wanted to load sprites from png files and thus grabbed davr's packaged libpng_ds.zip and compiled it with devkitARM r18.
Everything seemed fine and loading small images is no problem.
But: If i try to load slightly larger pngs (e.g. 96x96) my program fails with an "invalid window size" error.
This message originates in zlib and I have no idea what to do about it.
Strange thing: when I use the precompiled libz.a from thoduv everything works as expected.
I tried several devkitARM revisions back and that didn't change anything.
I'm kinda clueless.
Any ideas?
Thanks
Hiddenface