home *** CD-ROM | disk | FTP | other *** search
- -------------------------------------------------------------------------------
- File : 'options.txt' - Command line options for IrfanView
- Author: Irfan Skiljan
- E-Mail: irfanview@gmx.net
- WWW : http://www.irfanview.com
- -------------------------------------------------------------------------------
-
- List of all command line options supported in IrfanView:
- --------------------------------------------------------
-
- /one - force "only one instance"
- /fs - force Full Screen
- /bf - force Best Fit to desktop
- /title=text - set window title to "text"
- /pos=(x,y) - move IrfanView window to x,y
- /convert=filename - convert input file to "filename" and CLOSE IrfanView
- /slideshow=txtfile - play slideshow with the files from "txtfile"
- /thumbs - force thumbnails
- /killmesoftly - close all IrfanView instances
- /closeslideshow - close slideshow and IrfanView after the last image
- /page=X - open page number X from a multipage input image
- /crop=(x,y,w,h) - crop input image: x-start, y-start, width, height
- /print - print (all pages) to default printer and CLOSE IrfanView
- /print="Name" - print (all pages) to specific printer and CLOSE IrfanView
- /resize=(w,h) - resize input image to w (width) and h (height)
- /resample=(w,h) - resample input image to w (width) and h (height)
- /capture - capture the whole screen and show image in IrfanView
- /ini - use the Windows folder for INI/LST files (read/save)
- /ini="Folder" - use the folder "Folder" for INI/LST files (read/save)
- /clippaste - paste image from the clipboard
- /clipcopy - copy image to the clipboard
- /silent - don't show messages for command line read/save errors
- /invert - invert the input image
- /scan - acquire the image from the TWAIN device
- /bpp=BitsPerPixel - change color depth of the input image to BitsPerPixel
-
- Notes:
- - Only lower case options are supported !
- - Input file name (if required) is always the first paramater!
- - Wildcards supported only for /convert and /print
-
-
- Example for conversion:
- i_view32.exe c:\test.bmp /convert=c:\giftest.gif
- => Convert file: 'c:\test.bmp' to 'c:\giftest.gif' without GUI ;-)
- i_view32.exe c:\*.jpg /convert=d:\temp\*.gif
- i_view32.exe c:\*.jpg /resample=(500,300) /convert=d:\temp\*.png
- i_view32.exe c:\*.jpg /print
- (Note: supported are all IrfanView read/save formats except audio/video)
-
- Example for slideshow:
- i_view32.exe /slideshow=c:\mypics.txt
- (Note: The file 'c:\mypics.txt' contains, in each line, a name of the image,
- including the full path OR path relative to "i_view32.exe".
- A hard return is needed at the end of each line)
-
- Example for closeslideshow:
- i_view32.exe /slideshow=c:\mypics.txt /closeslideshow
- => IrfanView will be closed after the last image from 'c:\mypics.txt'
-
- Example for thumbnails:
- i_view32.exe c:\test\image1.jpg /thumbs
- => open 'image1.jpg' and display thumbnails from directory 'c:\test'
- or
- i_view32.exe c:\test /thumbs
- => display thumbnails from directory 'c:\test'
-
- Example for close:
- i_view32.exe /killmesoftly
- => close IrfanView and terminate all instances
-
- Example for page:
- i_view32.exe c:\test.tif /page=3
- => Open page number 3 from the multipage image 'c:\test.tif'
-
- Example for crop:
- i_view32.exe c:\test.jpg /crop=(10,10,300,300)
- => Open 'c:\test.jpg' and crop: x-start=10, y-start=10, width=300, height=300
-
- Example for print:
- i_view32.exe c:\test.jpg /print
- => Open 'c:\test.jpg', print the image to default printer and close IrfanView
- i_view32.exe c:\test.jpg /print="Printer Name"
- => Open 'c:\test.jpg', print the image to specific printer and close IrfanView
-
- Example for resize:
- i_view32.exe c:\test.jpg /resize=(300,300)
- => Open 'c:\test.jpg' and resize: width=300, height=300
- i_view32.exe c:\test.jpg /resize=(300,0)
- => Open 'c:\test.jpg' and resize: width=300, height=proportional
- i_view32 c:\test.jpg /resize=(150p,150p)
- => Open 'c:\test.jpg' and resize: width=150%, height=150%
-
- Example for resample:
- i_view32.exe c:\test.jpg /resample=(300,300)
- => Open 'c:\test.jpg' and resample: width=300, height=300
- i_view32.exe c:\test.jpg /resample=(0,300)
- => Open 'c:\test.jpg' and resample: width=proportional, height=300
- i_view32 c:\test.jpg /resample=(50p,70p)
- => Open 'c:\test.jpg' and resample: width=50%, height=70%
-
- Example for capture:
- i_view32.exe /capture
-
- Example for ini:
- i_view32.exe /ini
- i_view32.exe c:\test.jpg /ini
- i_view32.exe c:\test.jpg /ini="c:\temp\"
-
- Example for clipboard paste:
- i_view32.exe /clippaste
- i_view32.exe /clippaste /convert=c:\test.gif
-
- Example for clipboard copy:
- i_view32.exe c:\test.jpg /clipcopy
- i_view32.exe c:\test.jpg /clipcopy /killmesoftly
-
- Example for /invert:
- i_view32.exe c:\test.jpg /invert
-
- Example for /scan:
- i_view32.exe /scan
- i_view32.exe /scan /convert=c:\test.gif
-
- Example for /bpp:
- Example: i_view32.exe c:\test.jpg /bpp=8
- Supported BPP-values: 1, 4, 8 and 24 (decrease/increase color depth)
- => Open 'c:\test.jpg' and reduce to 256 colors
-