bmp2gif 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 | ||||||||||||||||||||||||||
ColorReduction=256 | -R:256 |
Possible values:
| ||||||||||||||||||||||||||
Compression=LZW | -Z | Forces LZW compression, by default RLE is used. | ||||||||||||||||||||||||||
Dithering=Floyd | -D:Floyd |
Possible values:
| ||||||||||||||||||||||||||
Disposal=none Disposal=none,,leave,, |
-DISP:none -DISP:none,,leave,, |
Disposal Method for animated GIFs, values are: none, leave, background, previous Coma delimited to set individual frames. | ||||||||||||||||||||||||||
FDelay=100 FDelay=100,,50,,,80 |
-FD:100 -FD:100,,50,,,80 |
Frame delay in milliseconds (Animated GIF) Coma delimited to set individual frames. | ||||||||||||||||||||||||||
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¹ | ||||||||||||||||||||||||||
Frames=file.bmp¹,.. | -Frames:file.bmp¹,.. |
Specify several source files coma separated to be used for each frame in an animated GIF. 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¹ Note: it is possible to specify a delay and a disposal for each frame by using the <FD=XXX> and the <DISP=XXXX> tag at the end of a filename. When not present the default value is used. ie: \path\file1.bmp<FD=250><DISP=previous>¹ | ||||||||||||||||||||||||||
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% | ||||||||||||||||||||||||||
Interlaced=True | -I | Creates an interlaced image. Default is false. | ||||||||||||||||||||||||||
Log=True | -Log | Allows the creation of a log file during execution for debugging. | ||||||||||||||||||||||||||
Loops=0 | -L:0 | Specifies the number of loops for an animation. 0 means foreever. | ||||||||||||||||||||||||||
TargetPath=path | -P:path |
Specifies the new path for the output file. If not specified the output file is created in the same directory as the source file with the .gif extension.
Note: when converting a single source file you can specify the full path and name of the GIF image file. (see demo.bat) | ||||||||||||||||||||||||||
Transparent= True | -T | Sets the transparency the default is False; | ||||||||||||||||||||||||||
TransparentColor=FFFFFF | -C:FFFFFF |
Sets the value of the transparent color if the transparency is set to true. The value is a RGB value like in HTML tags:
FF0000 = Red | ||||||||||||||||||||||||||
UseIni=True | -U |
Enables the use of bmp2gif.ini where default values can be set. This techniques simpligies greatly the HTML tag or Command Line paramters ie:
bmp2gif -u | ||||||||||||||||||||||||||
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% | ||||||||||||||||||||||||||
Caption=text | -CP:text | Prints a caption/copyright notice at bottom of image | ||||||||||||||||||||||||||
CaptionAlign=left | -CPAL:left | Captionalignment: left (default), right, center. | ||||||||||||||||||||||||||
CaptionFramed=True | -CPFRAMED | Draws a frame around the caption, default is False. | ||||||||||||||||||||||||||
CaptionFont=FontName | -CPFT:FontName | Font Name to be used for the caption, default is Arial. | ||||||||||||||||||||||||||
CaptionSize=XX | -CPSIZE:XX | Font Size to be used for the caption, default is 10. | ||||||||||||||||||||||||||
CaptionColor=FFFFFF | -CPCOL:FFFFFF | Color to be used for the caption in RGB values, default is black. | ||||||||||||||||||||||||||
CaptionBgColor=FFFFFF | -CPBG:FFFFFF | Background color to be used for the caption in RGB value, default is white. Use -1 for a transparent background. |
¹ Acceptable extensions are: bmp,dib,jif,jpeg,jpg,pbm,pcx,pgm,png,ppm,rle,tga,tif,tiff.
[Description] [Download] [Buy Now] [bmp2jpg]