JPEG's

Previous topic - Next topic

ampos

I did this little prog:

Code (glbasic) Select
SETCURRENTDIR("Media") // seperate media and binaries?
WHILE TRUE
MOUSESTATE mx,my,b1,b2
IF b1=1
LOADSPRITE sp+".jpg",1
sp=1-sp
REPEAT;UNTIL MOUSEAXIS(3)=0
ENDIF

INC x,GETJOYX(0)*10;DEC y,GETJOYY(0)*10
DRAWSPRITE 1,x,y
SHOWSCREEN
WEND


With 2 files in /media folder: 0.jpg & 1.jpg. Tested with images 700x700 and 1400x2000 pixels.

Windows 7: not a crash  :enc:

iPhone 4 4.2: not a single crash, works fine.  :enc: :enc: :enc: :enc: :enc: :enc: :enc: :enc: :enc: :enc: :enc: :enc:

Palm Pre 2: it load the first image with no crashes. Once you try to change image (touching screen) it crash 80% of the times. If you try another image change, it always crashes. Strange, but on the 700x700 images it seems to crash almost all the times for the 2nd load.

MrTAToad

Yes, I mentioned that in the Android beta post :)

It also crashes with Android and Windows CE seems to hang.

Cant try any other platform unfortunately...

Kitty Hello

OK, I forgot the -O0 for WebOS. If it works on iOS, I think that was the reason. Phew.