FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Loading PNG images

2 posters

Go down

Loading PNG images Empty Loading PNG images

Post  NeilBright Tue Sep 15, 2009 3:31 pm

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.

NeilBright

Posts : 3
Join date : 2009-09-01

Back to top Go down

Loading PNG images Empty Re: Loading PNG images

Post  sio2interactive Tue Sep 15, 2009 3:48 pm

Project ->Edit Active Target -> Build -> Compress PNG Files -> OFF
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Loading PNG images Empty Re: Loading PNG images

Post  NeilBright Tue Sep 15, 2009 3:51 pm

Excellent, that works a treat.

Thanks.

NeilBright

Posts : 3
Join date : 2009-09-01

Back to top Go down

Loading PNG images Empty Re: Loading PNG images

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum