Posted:
Aug 28, 2002 @ 10:16pm
by thevicar
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.
Posted:
Aug 30, 2002 @ 11:28pm
by thevicar
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.