Prefs commands start with the PREFS keyword.
| Template | PREFS | WIDTH/K,HEIGHT/K,COLS/K,DELAY/K,LOOP/K, PING/K,IMAGE/K,ANIM/K,WHIRL/K,EXTENSION/K | ||||||||
| WIDTH | Use this keyword to specify destination width of the picture/anim you are going to create using WebFX. | |||||||||
| Example | PREFS WIDTH 40 Pic's width will be 40 pixels. | |||||||||
| HEIGHT | Same as WIDTH, but will set the pic's height. | |||||||||
| Example | PREFS HEIGHT 40 Pic's height will be set to 40 pixels. | |||||||||
| COLS | Same as WIDTH, but works on pic's colors. | |||||||||
| Example | PREFS COLS 16 Pic's colors will be 16. | |||||||||
| DELAY | Same as WIDTH, will set Animation delay speed (in 100th of second) | |||||||||
| Example | PREFS DELAY 10 | |||||||||
| LOOP | This is used to set the number of loops of an AnimGIF. | |||||||||
| Example | PREFS LOOP -1 AnimGIF will loop forever. | |||||||||
| PING | This is used to set/unset Make Ping Pong option. Use 0 to unset, 1 to set. | |||||||||
| Example | PREFS PING 0 unsets Make Ping Pong Option. | |||||||||
| IMAGE | Select default image format, pass:
| |||||||||
| Example | PREFS IMAGE 2 default image format is PNG. | |||||||||
| ANIM | Same as IMAGE, but for the anim format, pass:
| |||||||||
| WHIRL | Sets the WhirlGIF path & name. | |||||||||
| Example | PREFS WHIRL '"work:programs/whirlgif/whirlgif"' | |||||||||
| EXTENSION | Sets/unsets "Add .Ext" option. 0 unsets, 1 sets. | |||||||||
| Example | PREFS EXTENSION 1 Set "Add .Ext" option |