Page 1 of 1

opacity bug on smartphone...

PostPosted: May 13, 2003 @ 2:45am
by stuff
here is the blit result of the same bitmap 4 times :
Image
I think there is something wrong :(

the bitmap is a gif, 40pix width & height. Opacity is set to 200, but the problem is the same with 128 or anything else.

The problem appears on the real phone AND the emulator.

(the white box is drawn on the top of the bitmap)

PostPosted: May 13, 2003 @ 3:37am
by ppcStudios

PostPosted: May 13, 2003 @ 3:42am
by stuff

PostPosted: May 13, 2003 @ 8:39am
by Johan
Hi Stuff,

(1) Try to store the image in PNG format and see if it looks the same. GIF support on Pocket PCs and Smartphones are broken and does not work as expected. Microsoft has known about this for a long time, the problem is that many applications depend on the current broken implementation and would not work if it changed.

(2) Are you blitting to the same coordinates? If so, when does it work and when does it not work? I guess that it looks ok some times when you start your application, and some times it does not.

PostPosted: May 13, 2003 @ 3:21pm
by stuff

PostPosted: May 13, 2003 @ 3:25pm
by Johan

PostPosted: May 13, 2003 @ 3:29pm
by stuff

PostPosted: May 13, 2003 @ 3:37pm
by Johan

PostPosted: May 13, 2003 @ 3:59pm
by stuff

PostPosted: May 13, 2003 @ 6:32pm
by stuff
i've juste tested with a modified "minimal" project, the problem is the same...
[url]stuffk.homeip.net/Minimal2.zip[/url]
here is my project, if someone can test it, just to see if there is a problem in my system...
The picture should be in the root "\dos.png" i put my pict in the ZIP file.

Tested with real smartphone and emulator.

You should see 2 bitmaps, first is not well displayed and second is good (first at 1,0 and second at 0,40)

PostPosted: May 13, 2003 @ 6:56pm
by Johan

PostPosted: May 13, 2003 @ 7:05pm
by stuff

PostPosted: May 13, 2003 @ 8:16pm
by Presto

PostPosted: May 14, 2003 @ 12:29pm
by Johan
It's fixed.. Just download GapiDraw 2.01b...