Archive: AdvSplash: fadein/fadeout/transparency


AdvSplash: fadein/fadeout/transparency
Modified splash, supports fade in/out (win2k/xp), transparency (24bit/8bit images), 5.5k uncompressed dll size.


AdvSplash
Partial fadein bug fixed (sorry).


oooh, that sounds great. cant test it right now though...


hmm, i tried this but it didnt give me transparency.

neiter

advsplash::show 3000 100 100 003152 $TEMP\spltmp

nor

advsplash::show 3000 100 100 0x003152 $TEMP\spltmp

worked here, although i didn't found anything in the documentation, what the 0x means exactly.

how about an example in the documentation?


Strange. As I know nobody got any problems before... Is you file 8-bit or 24-bit?

0x means hexidecimal value. You should change your color parts (red, green and blue) into hexidecimal and then combine them. For example R=255 G=100 B=16 -> R=0xFF G=0x64 B=0x10 -> Trans. Color = 0xFF6410.

If you are using 8-bit palette image, you can use (0x1000000 + ColorIndexAtPalette).


i used a 24-bit image. the odd thing is, when i use common colors (primary and secondary colors), it works. once i use other values, it doesnt work.

example:

i used a red value (no pure red), but the red didnt turn transparent. instead the black border of the image did. when i used magenta (FF00FF) i had no problem.

could it be that this only works on colors from the windows palette?


Originally posted by killahbite
i used a 24-bit image. the odd thing is, when i use common colors (primary and secondary colors), it works. once i use other values, it doesnt work.

example:

i used a red value (no pure red), but the red didnt turn transparent. instead the black border of the image did. when i used magenta (FF00FF) i had no problem.

could it be that this only works on colors from the windows palette?
You should convert it to 8-bit before you distribute it. That way, Windows 9x users will be able to see it. That is also probably what is causing your problem.