Command line parameters

Syntax:

Imagine.exe [Parameter...] "File name"...

Parameters: (Case-insensitive)

/about About
/anim[:File name] Animation Editor
/assocext Associate Extension
/browse[:Folder] Browse
/capture Capture Screen
/copy Copy
/crop[:(Left,Top,Right,Bottom)] Crop
/depth[:Color depth] Change Color Depth
/dissocext Dissociate Extension
/filter[:Filter name] Filter
/flip Vertical Flip
/fullscreen Full Screen
/grayscale Grayscale
/help Command Line Parameters
/jpegtran[:List file name] JPEG Lossless Transformation
/mirror Horizontal Flip
/multipage[:Output file name] Create Multiple Page Image
/negative Negative
/p Print
/palimp[:File name] Import Palette
/paste Paste
/pref Preferences
/print Print
/register Registration
/regcontextmenu Register Context Menu Handler
/resize[:(Width,Height)["%"]] Resize
/rotate[:Degrees|"Left"|"Right"] Rotate
/save[:Output file name or Extension] Save
/slide[:List file name] Slide Show
/swapcol[:"BGR"|"RBG"|"GRB"|"BRG"|"GBR"] Swap Colors
/top Always on Top
/uninstall Uninstall
/unregcontextmenu Unregister Context Menu Handler
/viewer Force Viewer Mode at Startup
/wallpaper[:"Centered"|"Tiled"|"Stretched"] Set as Wallpaper

Sub-parameters: (Case-insensitive, must be located next to parameter)

[/slide]
--full[:"no"] Full screen
--auto[:"no"|seconds] Advance slides automatically
--loop[:"no"] Loop slide show
--randomize[:"no"] Randomize image order
--effect[:Effect name] Set frame effect

[/jpegtran]
--tran[:"none"|"mirror"|"flip"|"90"|"180"|"270"] Set transformation
--extra[:"keepall"|"keepcomment"|"removeall"] Set "extra marker" option
--keeptime[:"no"] Keep original date/time
--optimize[:"no"] Optimize huffman table
--trim[:"no"] Trim non-transformable edge blocks

[/save]
--progressive[:"no"] Set progressive (JPEG format)
--quality[:1~100] Set quality (JPEG format)
--compression[:"none"|"lzw"|"packbits"|"jpeg"|"zip"|"adobe zip"|"huffman rle"|"ccitt fax 3"|"ccitt fax 4"] Set compression (TIFF format)

* The above sub-parameters of "/save" are just part of the whole supported sub-parameters. You can use any string of option item which is in 'File->Save as->Options' dialog.

Examples:

Imagine /save:"001.gif" "001.jpg"
: Load "001.jpg" file and save it as "001.gif" file.

Imagine /save "001.jpg"
: Load "001.jpg" file and show "save as" dialog.

Imagine /save:tif --compression:packbits *.jpg
: Load all jpg files in current directory and save them as corresponding tif files with packbits compression.

Imagine /save:jpg --quality:90 *.bmp
: Load all bmp files in current directory and save them as corresponding jpg files with setting quality value to 90.

Imagine /neg /filter:"emboss" /gray /save:*.gif *.jpg
: Load all jpg files in current directory and apply "negative", "emboss filter", "grayscale" and save them as corresponding gif files.
  (Batch conversion)

Imagine /resize:(320,240) /save:png *.jpg
: Load all jpg files in current directory and resize their widths and heights to 320 and 240 and save as corresponding png files.

Imagine /resize:(,100) /save:png *.jpg
: Load all jpg files in current directory and resize their heights to 100 and save as corresponding png files.
  (Widths are calculated from aspect ratio.)

Imagine /flip /p "001.jpg"
: Load "001.jpg" file and apply "vertical flip" and print it.

Imagine /multipage:output.tif "001.jpg" "002.jpg" "003.jpg"
: Load "001.jpg", "002.jpg", "003.jpg" files and create multiple page image and save as "output.tif" file.

Imagine /multipage *.jpg
: Load all jpg files in current directory and create multiple page image and show "save as" dialog.

Imagine /slide "001.jpg" "002.jpg" "003.jpg"
: Load "001.jpg", "002.jpg", "003.jpg" files and start slide show with the files.

Imagine /slide *.jpg
: Load all jpg files in current directory and start slide show with the files.

Imagine /slide --full --auto:5 --loop --randomize --effect:"overlap" *.jpg
: Load all jpg files in current directory and start slide show with the files and options.

Imagine /jpegtran --tran:mirror --extra:removeall --keeptime --optimize --trim *.jpg
: Load all jpg files in current directory and start JPEG lossless transformation process with the files and options.

Imagine /crop:(100,100,299,199) /save:png *.jpg
: Load all jpg files in current directory and crop region of (100,100,299,199) and save as corresponding png files.
