Loading PNG images
Page 1 of 1 • Share •
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
Project ->Edit Active Target -> Build -> Compress PNG Files -> OFF
_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com

sio2interactive- Posts: 1526
Join date: 2008-08-26
Age: 33
Location: Shanghai

Similar topics» Images Preview
» Posting images
» Images from the Lady Oscar Encyclopedy
» Howto boot ISO images via grub2 with ubuntu
» How to upload and insert images/photos in your posts.
» Posting images
» Images from the Lady Oscar Encyclopedy
» Howto boot ISO images via grub2 with ubuntu
» How to upload and insert images/photos in your posts.
Permissions in this forum:
You cannot reply to topics in this forum