Page 1 of 1

Anomalous moon.bmp size conundrum

Posted: Tue 24 Mar 2009 9:07 pm
by MarkB
Having absolutely nothing better to do I got to wondering about my 'broken image' of moon.bmp when using a Symbian phone (see https://cumulus.hosiene.co.uk/viewtopic.php?p=6912#p6912).

I noticed that could see the moon.bmp when I browsed PaulC's Brampton Weather site but not when I browsed mine. I checked the bitmap properties on both sites and found that the 64 X 64 pixel image from my site is 8258 bytes in size whereas Paul's 64 x 64 pixel image is 16516 bytes. We are both currently running the same build of Cumulus so surely they should be the same. Why should they be different? Is this why Symbian plain refuses to let me look at the moon? :cry:

(This is just a 'training' worry - I'm going to graduate to worrying about something bigger and more important once I've had a bit of practice) :roll:

Re: Anomalous moon.bmp size conundrum

Posted: Wed 25 Mar 2009 7:50 am
by steve
I think it's probably down to the display settings on your computer, because of the way that the images are effectively just 'grabs' of the images on the Cumulus display. This is also why the wind gauges look different on some people's web sites.

Steve

Re: Anomalous moon.bmp size conundrum

Posted: Wed 25 Mar 2009 4:57 pm
by MarkB
Steve, you are probably a genius :!: for incisively hitting the nail square on the head (if I may mix metaphors).

I knew it had something to do with bitdepth but I didn't have clue how or why.
I normally run the server console in Terminal Services mode; although the native screen is configured to use 32bit colour TS only uses 16bit colour. When Cumulus does the screen-scrape of the moon it's only pulling a 16bit image! Obviously it would seem Symbian doesn't like 'half' a bitmap and fails to display the image.

It's great knowing what the problem is, but I'll probably just have to live with it as I can't see myself changing the way I work for something this trivial :lol:

Thanks anyway. Brilliant. 8-) :D

Re: Anomalous moon.bmp size conundrum

Posted: Thu 26 Mar 2009 12:32 am
by MarkB
Yayhay! I got a workround. I increased the Maximum Color Depth of TS to 'Client Compatible' - this works out to 24bit with XP client 2k3 server - and I get a usable moon.bmp to look at with Symbian. Yipee!

It's just a pity it's a New Moon right now. Doh! :lol: