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.

sio2ImageLoad, Error from debugger: previous frame identical to this frame

2 posters

Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors Fri Mar 20, 2009 7:03 pm

Hi all,

My app works fine on the simulator, but on the device I'm getting this error when I call sio2ImageLoad.

Anyone have any idea? I'm using v1.3.2.


Thanks in advance! Best,
-joshua
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors Fri Mar 20, 2009 7:12 pm

Ok, it seems to happen when I load a .PNG.

.JPG seems to work.

Did I miss a forum post about this?


-j
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors Fri Mar 20, 2009 7:14 pm

I'll bet it's because I was using .PNGs saved right from Macromedia Fireworks.

Must not be the right bit format...

testing...



-j
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors Fri Mar 20, 2009 7:26 pm

Yep, that was it...


-j
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors Fri Mar 20, 2009 7:35 pm

Well, it seems to happen with any 32 bit PNG with alpha transparency.

Anyone confirm this? I'll have to switch to .TGA otherwise.


-j
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  sio2interactive Fri Mar 20, 2009 7:48 pm

Actually I found that there's maybe a bug with libpng when compiled with thumb on the device, can someone please confirm... sometimes it work and sometimes it doesn't but is really stable when thumb is off... maybe its just me, I would like to have the confirmation of someone else...

meteors you are up for the task? Wink

Tks in advance,
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors Fri Mar 20, 2009 8:02 pm

Hey Rom,

Yes, I can do this. I'm against a deadline though so it may have to wait until Monday.

I guess I'll use .TGA in the meantime :-)

Thanks for all your hard work. Really outstanding.


-j
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors Fri Mar 20, 2009 8:11 pm

This is from our esteemed colleague, TheBunny:


<TheBunny> Is PNG crush turned off?
<TheBunny> which is teh normal fix for using libPNG on the phone
<TheBunny> its a setting in xcode build settings
<TheBunny> open your build settings and do a searc for PNG
<TheBunny> you will get
<TheBunny> Compress .png Files
<TheBunny> try turning that off
<TheBunny> should be a Common problem on the forums tho I would expect
<TheBunny> its in my FAQ and I got many emails from people running into it
<TheBunny> Other then that 32 PNGS work just fine Smile
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors Fri Mar 20, 2009 8:14 pm

This seems to fix it!

I'm going to do a few more tests...


TehBunny rules.


-j
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors Fri Mar 20, 2009 8:15 pm

Thought I'd paste this here too, if it helps anyone:

http://blog.joemattiello.com/2008/09/floating-iphone/


(thanks to zzajin)
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  sio2interactive Fri Mar 20, 2009 8:37 pm

ahhhhhhh I see, you directly link the png to the resource... yeah don't do that, TheBunny is right... I thought you extract it from the .sio2 file...
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors Fri Mar 20, 2009 8:51 pm

Ah. Well it definitely works now. Thanks to everyone!!


Best,
-j
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame Empty Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

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