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

strange image loading behavior


strange image loading behavior

Postby thevicar » Aug 27, 2002 @ 9:42pm

thevicar
pm Member
 
Posts: 5
Joined: Aug 19, 2002 @ 9:26pm


Postby DillRye » Aug 28, 2002 @ 1:43am

User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Postby efortier » Aug 28, 2002 @ 6:38pm

User avatar
efortier
pm Insider
 
Posts: 373
Joined: May 15, 2002 @ 10:32pm


Postby thevicar » Aug 28, 2002 @ 10:16pm

hi,

it turns out there is something wrong with some of my images - what, I'm not sure. they're 24-bit .bmp's. some load and work perfectly as they should, with the code I was using all along (which is like yours). some won't load but (!) if I repeat the CreateSurface call right away, then they sometimes load. so, I'm going to try resaving all the images using something other than Photoshop.
thevicar
pm Member
 
Posts: 5
Joined: Aug 19, 2002 @ 9:26pm


Postby thevicar » Aug 30, 2002 @ 11:28pm

I've experimented a little bit and I've found there is a correlation between an image's dimensions and whether it will load properly. Unfortunately I haven't been able to discern a pattern (ie height or width needs to be even, etc.), but I find certain sizes work and certain others don't, no matter what drawing program I save them in.
thevicar
pm Member
 
Posts: 5
Joined: Aug 19, 2002 @ 9:26pm


Postby Hosed » Aug 31, 2002 @ 12:36am

L. L. Goodwin<BR>Purveyor of Code<BR><A href="http://www.planettribes.com/hosed/">Hosed's House of Code</A>
User avatar
Hosed
pm Member
 
Posts: 249
Joined: Jan 3, 2002 @ 2:51am
Location: Montana, USA


Postby Johan » Aug 31, 2002 @ 8:51am

Last edited by Johan on Sep 5, 2002 @ 8:55am, edited 1 time in total.
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby thevicar » Sep 5, 2002 @ 8:50am

thevicar
pm Member
 
Posts: 5
Joined: Aug 19, 2002 @ 9:26pm


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

cron