Bruce wrote:
> if someone wants to write their own version of stil32jp.dll

Meanwhile it could be done with a script.

I gather you don't want to convert them all because of disk space.
To save space you could convert each jpg, at the time it is needed,
into the same bitmap file, instead of letting PowerPro do the same
thing using stil32jp.dll.

That would NOT be easy to script if you are using one of these two:
*Wallpaper Change [changes to file in same folder; random]
*Wallpaper Change * [changes to file in same folder; sequential]

But it is easy if you are using either of these two:
*Wallpaper ChangeTo filespec
[changes paper to filespec and saves new filespec in .pcf]
*Wallpaper Show filespec
[changes to filespec but does not store new file name]

Thus:
Wallpaper.changeto(.jpg2bmp("c:\wallpapers\image6.jpg"))

The script jpg2bmp.powerpro does this:

do("c:\utils\converter.exe " ++ arg1 ++ " c:\store\temppaper.bmp","")
quit("c:\store\temppaper.bmp")

The script always converts to the same temporary bitmap file
and always returns that. Therefore your disk will not be filled
with uncompressed bitmaps.

The script runs a converter (maybe i_view does conversions
via the command line? If not there must be a converter which can
be controlled via its command line; or via a Keys command).
_________________________________

Hopefully, walpaper.changeto will not complain that you are
changing to the same bitmap file and will refresh it.

Else you will need a slightly more complicated script
which uses two temporary bmp files, in turn:

flag reverse 5
if(pproflag 5)do
do("c:\utils\converter.exe " ++ arg1 ++ " c:\store\temppaper1.bmp","")
quit("c:\store\temppaper1.bmp")
else
do("c:\utils\converter.exe " ++ arg1 ++ " c:\store\temppaper2.bmp","")
quit("c:\store\temppaper2.bmp")
endif



------------------------ 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