INI File Demo

The INI file enables the user to set default values for each parameters making the HTML tag simpler to handle. To override one parameter simply include the new value in the tag. The INI file is used only if the tag useini=true is found.

bmp2gif.ini file content:

[Param]
bmpfile=demo.bmp
interlaced=false
transparent=false
transparentcolor=false
dithering=floyd
width=100
height=-1
log=false
compression=rle
colorreduction=quan
targetpath=
flist=
frames=
fdelay=
loops=


HTML code:
<img src="http://localhost/cgi-bin/bmp2gif.exe? useini=true">

HTML code:
<img src="http://localhost/cgi-bin/bmp2gif.exe? useini=true&height=100">

HTML code:
<img src="http://localhost/cgi-bin/bmp2gif.exe? useini=true&transparent=true& transparentcolor=FF0000">

HTML code:
<img src="http://localhost/cgi-bin/bmp2gif.exe? useini=true&dithering=nearest">
More demos...