This site is no longer active and is available for archival purposes only. Registration and login is disabled.

opacity bug on smartphone...


opacity bug on smartphone...

Postby stuff » May 13, 2003 @ 2:45am

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)
stuff
pm Member
 
Posts: 41
Joined: Feb 2, 2003 @ 5:22pm


Postby ppcStudios » May 13, 2003 @ 3:37am

G.R. Moore
President/CEO
Pocket PC Studios
www.ppcstudios.com

Image
User avatar
ppcStudios
pm Insider
 
Posts: 744
Joined: Aug 23, 2002 @ 3:53pm
Location: Canfield, Ohio


Postby stuff » May 13, 2003 @ 3:42am

stuff
pm Member
 
Posts: 41
Joined: Feb 2, 2003 @ 5:22pm


Postby Johan » May 13, 2003 @ 8:39am

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.
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby stuff » May 13, 2003 @ 3:21pm

stuff
pm Member
 
Posts: 41
Joined: Feb 2, 2003 @ 5:22pm


Postby Johan » May 13, 2003 @ 3:25pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby stuff » May 13, 2003 @ 3:29pm

stuff
pm Member
 
Posts: 41
Joined: Feb 2, 2003 @ 5:22pm


Postby Johan » May 13, 2003 @ 3:37pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby stuff » May 13, 2003 @ 3:59pm

stuff
pm Member
 
Posts: 41
Joined: Feb 2, 2003 @ 5:22pm


Postby stuff » May 13, 2003 @ 6:32pm

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)
stuff
pm Member
 
Posts: 41
Joined: Feb 2, 2003 @ 5:22pm


Postby Johan » May 13, 2003 @ 6:56pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby stuff » May 13, 2003 @ 7:05pm

stuff
pm Member
 
Posts: 41
Joined: Feb 2, 2003 @ 5:22pm


Postby Presto » May 13, 2003 @ 8:16pm

User avatar
Presto
pm Insider
 
Posts: 763
Joined: Jan 20, 2003 @ 5:51am
Location: Kalesian Archipelago


Postby Johan » May 14, 2003 @ 12:29pm

It's fixed.. Just download GapiDraw 2.01b...
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum