Oops! I never intented for the mail with this in it to go to the list:
(I wrote, and was supposed to change it but forgot):
>echo.|time
>for %%d in (*.jpg) do djpeg.exe -bmp %%d
>echo.|time
>
>I haven't done any testing like that myself yet (I'm not even certain
about the bat >file <g>).
Of course this BAT file will fail - djpeg.exe wants both input and output -
and we can't specify both file.jpg and file.bmp from having file.jpg.
We need to test by having a bigger BATch file that has both input file and
output file for each file. (I think there are complicated BATch files that
will strip the extension - but that sounds really useless IMHO).
This will work:
echo.|time
call convert.bat file001
...
call convert.bat filexxx
echo.|time
And convert.bat has this:
djpeg.exe -bmp %1.jpg %1.bmp
And perhaps this line (if we want to test djpeg with many files (ca 32MB
for instance)):
del %1.bmp
I tested with 265 JPG files (totaly 12,422,354 bytes - all color photos) on
a RAMDrive to get as big diffrences in time as possible.
The base (100) for these are
fastimage/jpeg JPG>BMP|$edjpeg.exe -bmp $1 $2
(My computer is still a AMD K6-2 400 in case someone has forgotten - or has
joined the list recently)
16-bit (version 6a)
100
-dct fast 76
-dct float 132
-color 256 153
-color 256 -dct fast 132
-color 256 -dct float 186
-grayscale 46
-grayscale -dct fast 33
-grayscale -dct float 55
32-bit (version 6b)
45
-dct fast 41
-dct float 77
-color 256 96
-color 256 -dct fast 93
-color 256 -dct float 120
-grayscale 46
-grayscale -dct fast 20
-grayscale -dct float 31
There are more options to choose from but it takes a while to test them all
- I don't think mant of the others will make any big diffrences, but I
don't know (nor do I intend to test).
The switches mean:
- default (-dct int)
dct fast - not as good looking
dct float - uses floating point (will probably be much better on ex. an
Athlon)
grayscale - I think you can guess this one
grayscale is probably only usefull for those that have a b/w monitor and/or
uses Arachne in b/w mode.