Loading PNG images
2 posters
Loading PNG images
Hi folks,
I have an app that loads an image and shows it using 2D window mode. The app works fine when running in the simulator but when I try to run on the device it fails to load in the png loading functions.
It seems to be falling through to this line in the function png_read_info() in pngread.c
png_handle_unknown(png_ptr, info_ptr, length);
Any ideas anyone? Does the iPhone device build process do something to pngs to optimise them?
Thanks peeps,
Neil.
I have an app that loads an image and shows it using 2D window mode. The app works fine when running in the simulator but when I try to run on the device it fails to load in the png loading functions.
It seems to be falling through to this line in the function png_read_info() in pngread.c
png_handle_unknown(png_ptr, info_ptr, length);
Any ideas anyone? Does the iPhone device build process do something to pngs to optimise them?
Thanks peeps,
Neil.
NeilBright- Posts : 3
Join date : 2009-09-01
Re: Loading PNG images
Excellent, that works a treat.
Thanks.
Thanks.
NeilBright- Posts : 3
Join date : 2009-09-01
Similar topics
» PNG Loading
» loading more than once scene
» Loading a new scene
» Loading image textures on the fly
» Sound loading time
» loading more than once scene
» Loading a new scene
» Loading image textures on the fly
» Sound loading time
Permissions in this forum:
You cannot reply to topics in this forum