A>> Similarly,
A>> if you were using *Wallpaper Change * [which is sequential]
A>> you could do the sequential .jpg selection in the script, 
A>> so you can use Wallpaper ChangeTo filespec 
A>> instead of Wallpaper Change *
...
S> The simplest script I can think of is following:
S> ------------------------------------------------------------
S> local back_bmp = pprofolder ++ "!pow_tmp.bmp"
S> Wallpaper.Change("*")
S> ;Wait.For(1000)
S> [EMAIL PROTECTED](back_bmp,"/bpp=24")
S> ;Wait.For(1000)
S> Wallpaper.ChangeTo(back_bmp)
S> quit
...
S> The only problem here is that I don't know if the quality
S> become better by mere change of the BPP of the BitMap file
S> itself...

Converting the 8bit bitmap to 24bit is definitely not as good 
as converting the original 24bit jpg directly to 24bit bmp.
Most of the color information was lost when stil32jp.dll
converted jpg to 8bit bmp.
It is impossible for any converter to know which of the 
16 million colors in the 24bit palette should be applied to
a particular pixel; not after each pixel has been given the 
nearest color from a palette of only 256 (max) colors. 

Therefore you cannot use Wallpaper Change *
(unless you buy a bigger hard disk and batch convert
every jpg to a 24bit bmp).
It must be Wallpaper Show filespec [or ChangeTo filespec]
where filespec is a file you just converted yourself.

So you have to invent your own sequential file chooser.
I guess that will be easier to script if you rename every jpg 
with sequential numbers.
One alternative approach (not requiring renaming to numbers)
would be DIR to a text file. Whenever you add/remove jpg files,
do that again to refresh the file list in the text file.
Then in the wallpaper changing script, use readline("jpglist.txt",i)
where static i is incremented with each run of the script.

Alan M





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to