- B M P 2 J P G   H E L P -

bmp2jpg accepts a wide range of parameters in both CGI and Command Line mode. Both tags and switches are case unsensitive.

HTML Tag Cmd Line Switch Description
bmpFile=file.bmp -F:file.bmp Full name of .bmp source file. bmp2jpg will also accept the following formats as source images:
bmp, dib, emf, jif, jpeg, jpg, pbm, pcx, pgm, png, ppm, rle, tga, tif, tiff, wmf
n/a -D:Path Full name or path of converted file.
Compression=0 -CM:0 Possible values:
0 Integer, Fast (default)
1 Integer, Precise
2 Floating Point
Quality=80 -Q:80 Quality from 0 to 100% default is 80.
Progressive=True -P Default is false.
Height=100 -H:100 Specifies the new height of the image. If the new width is not specified the width will be adjusted proportionaly to the new height to preserve the same aspect ratio.

Note: specifying a value between 0 and 1 is interpreted as a percentage of the original size and both height and width will be adjusted. ie:

-h:0.25  = 25%
-h:0.75  = 75%
Width=100 -W:100 Specifies the new width of the image. If the new height is not specified the height will be adjusted proportionaly to the new width to preserve the same aspect ratio.

Note: specifying a value between 0 and 1 is interpreted as a percentage of the original size and both height and width will be adjusted. ie:

-w:0.25  = 25%
-w:0.75  = 75%
FList:file.bmp,.. -FList:file.bmp,.. Enables batch processing by specifying several source files coma separated. ie:

file1.bmp,file2.bmp,.....

Alternatively

file.txt

Where file.txt is a file holding the list of bitmap source filenames one per line. ie:

\path\file1.bmp
\path\file2.bmp
.
.
etc.
ImgFile=filename -D:targetpath In CGI mode specifies the ouput file name for saving a local copy. In command line mode it specifies the new path for the output file by default the image is created in the same directory as the source.

Note: when converting a single source file you can specify the full path and name of the image file. (see demo.bat)

FType=JPG -FType:JPG Sets the format for the resulting image. Accpetable values are:

bmp, jpg, pbm, pgm, png, ppm, tga, tif

Gray=XXX -G:XXX Converts to shades of gray with NO dithering. Acceptable values are:
2, 4, 16, 256
Note: to convert to black & white use 2.
DGray=XXX -DG:XXX Converts to dithered shades of gray. Acceptable values are:
2, 4, 16, 256

[Description]  [Download]  [Buy Now]  [bmp2gif]