• Welcome to TodayPlus Boards v2.
 

imagemeter transparency

Started by MadTxn, December 29, 2003, 11:50:18 AM

Previous topic - Next topic

joelw135

I changed the imagemeter command for my size png. does this look correct? I changed the 25 to 15 on the second line and I changed the 200 on the last line to 120. The only thing that bothers me is that the original code had a half moon for today and it is a cresent moon now. I don't know which is correct.

calcvar,var30,moonphase,1
calcvar,var30,*,%var30%,15
imagemeter,93,45,%var30%,phases.png,t,0,120
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

joelw135

Something is off in the command, since I went out side and it is a half moon now.  What do I change?
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

Broesel

No, that code was not correct (it has been corrected in the original thread now)

the commands should be:

calcvar,var30,moonphase,1
imagemeter,93,45,%var30%,phases.png,t,0,7

and with the smaller png I posted:

imagemeter,93,45,%var30%,phases15x15.png,t,0,7

Greetings Broesel

joelw135

Ok works now. I had a combination of two commands.  I should have my eyes looked at.  It was directly in front of me and I didn't see it.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

Broesel

Quote from: joelw135Ok works now.

Fine, so I'm going to bed now....

Greetings Broesel

MadTxn

OK, I've narrowed the problem down to the background.  If I use a pink background on the image and specify the transparent color, the transparency works.  If I use a green background and specify the color, it doesn't work.

srs

yep, I get the same problem too.

I'll have to take a look at the code to see if I can find the bug.