home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 February / Chip_2003-02_cd1.bin / sharewar / irfan375 / iview375.exe / i_options.txt < prev    next >
Text File  |  2002-07-12  |  6KB  |  145 lines

  1. -------------------------------------------------------------------------------
  2. File  : 'options.txt' - Command line options for IrfanView
  3. Author: Irfan Skiljan
  4. E-Mail: irfanview@gmx.net
  5. WWW   : http://www.irfanview.com
  6. -------------------------------------------------------------------------------
  7.  
  8. List of all command line options supported in IrfanView:
  9. --------------------------------------------------------
  10.  
  11.   /one               - force "only one instance"
  12.   /fs                - force Full Screen
  13.   /bf                - force Best Fit to desktop
  14.   /title=text        - set window title to "text"
  15.   /pos=(x,y)         - move IrfanView window to x,y
  16.   /convert=filename  - convert input file to "filename" and CLOSE IrfanView
  17.   /slideshow=txtfile - play slideshow with the files from "txtfile"
  18.   /thumbs            - force thumbnails
  19.   /killmesoftly      - close all IrfanView instances
  20.   /closeslideshow    - close slideshow and IrfanView after the last image
  21.   /page=X            - open page number X from a multipage input image
  22.   /crop=(x,y,w,h)    - crop input image: x-start, y-start, width, height
  23.   /print             - print (all pages) to default printer and CLOSE IrfanView
  24.   /print="Name"      - print (all pages) to specific printer and CLOSE IrfanView
  25.   /resize=(w,h)      - resize input image to w (width) and h (height)
  26.   /resample=(w,h)    - resample input image to w (width) and h (height)
  27.   /capture=X         - capture the screen or window
  28.   /ini               - use the Windows folder for INI/LST files (read/save)
  29.   /ini="Folder"      - use the folder "Folder" for INI/LST files (read/save)
  30.   /clippaste         - paste image from the clipboard
  31.   /clipcopy          - copy image to the clipboard
  32.   /silent            - don't show messages for command line read/save errors
  33.   /invert            - invert the input image
  34.   /scan              - acquire the image from the TWAIN device
  35.   /bpp=BitsPerPixel  - change color depth of the input image to BitsPerPixel
  36.   /swap_bw           - swap black and white color
  37.   /gray              - convert input image to grayscale
  38.   /rotate_r          - rotate input image to right
  39.   /rotate_l          - rotate input image to left
  40.   /filepattern="x"   - browse only specific files
  41.  
  42. Notes:
  43. - Only lower case options are supported !
  44. - Input file name (if required) is always the first paramater!
  45. - Wildcards supported only for /convert and /print
  46.  
  47.  
  48. Example for conversion: 
  49.   i_view32.exe c:\test.bmp /convert=c:\giftest.gif
  50.   => Convert file: 'c:\test.bmp' to 'c:\giftest.gif' without GUI ;-)
  51.   i_view32.exe c:\*.jpg /convert=d:\temp\*.gif
  52.   i_view32.exe c:\*.jpg /resample=(500,300) /convert=d:\temp\*.png
  53.   i_view32.exe c:\*.jpg /print
  54.   (Note: supported are all IrfanView read/save formats except audio/video)
  55.  
  56. Example for slideshow: 
  57.   i_view32.exe /slideshow=c:\mypics.txt
  58.   (Note: The file 'c:\mypics.txt' contains, in each line, a name of the image,
  59.          including the full path OR path relative to "i_view32.exe". 
  60.          A hard return is needed at the end of each line)
  61.  
  62. Example for closeslideshow: 
  63.   i_view32.exe /slideshow=c:\mypics.txt /closeslideshow
  64.   => IrfanView will be closed after the last image from 'c:\mypics.txt'
  65.  
  66. Example for thumbnails: 
  67.   i_view32.exe c:\test\image1.jpg /thumbs
  68.   => open 'image1.jpg' and display thumbnails from directory 'c:\test'
  69.   or
  70.   i_view32.exe c:\test /thumbs
  71.   => display thumbnails from directory 'c:\test'
  72.  
  73. Example for close: 
  74.   i_view32.exe /killmesoftly
  75.   => close IrfanView and terminate all instances
  76.  
  77. Example for page:
  78.   i_view32.exe c:\test.tif /page=3
  79.   => Open page number 3 from the multipage image 'c:\test.tif'
  80.  
  81. Example for crop:
  82.   i_view32.exe c:\test.jpg /crop=(10,10,300,300)
  83.   => Open 'c:\test.jpg' and crop: x-start=10, y-start=10, width=300, height=300
  84.  
  85. Example for print:
  86.   i_view32.exe c:\test.jpg /print
  87.   => Open 'c:\test.jpg', print the image to default printer and close IrfanView
  88.   i_view32.exe c:\test.jpg /print="Printer Name"
  89.   => Open 'c:\test.jpg', print the image to specific printer and close IrfanView
  90.  
  91. Example for resize:
  92.   i_view32.exe c:\test.jpg /resize=(300,300)
  93.   => Open 'c:\test.jpg' and resize: width=300, height=300
  94.   i_view32.exe c:\test.jpg /resize=(300,0)
  95.   => Open 'c:\test.jpg' and resize: width=300, height=proportional
  96.   i_view32 c:\test.jpg /resize=(150p,150p)
  97.   => Open 'c:\test.jpg' and resize: width=150%, height=150%
  98.  
  99. Example for resample:
  100.   i_view32.exe c:\test.jpg /resample=(300,300)
  101.   => Open 'c:\test.jpg' and resample: width=300, height=300
  102.   i_view32.exe c:\test.jpg /resample=(0,300)
  103.   => Open 'c:\test.jpg' and resample: width=proportional, height=300
  104.   i_view32 c:\test.jpg /resample=(50p,70p)
  105.   => Open 'c:\test.jpg' and resample: width=50%, height=70%
  106.  
  107. Example for capture:
  108.   i_view32.exe /capture
  109.   => Capture the whole screen and show the image in IrfanView
  110.   i_view32.exe /capture=1
  111.   => Capture the foreground window and show the image in IrfanView
  112.   i_view32.exe /capture=2
  113.   => Capture the client area of the foreground window and show the image
  114.  
  115. Example for ini:
  116.   i_view32.exe /ini
  117.   i_view32.exe c:\test.jpg /ini
  118.   i_view32.exe c:\test.jpg /ini="c:\temp\"
  119.  
  120. Example for clipboard paste:
  121.   i_view32.exe /clippaste
  122.   i_view32.exe /clippaste /convert=c:\test.gif
  123.  
  124. Example for clipboard copy:
  125.   i_view32.exe c:\test.jpg /clipcopy
  126.   i_view32.exe c:\test.jpg /clipcopy /killmesoftly
  127.  
  128. Example for /invert:
  129.   i_view32.exe c:\test.jpg /invert
  130.  
  131. Example for /scan:
  132.   i_view32.exe /scan
  133.   i_view32.exe /scan /convert=c:\test.gif
  134.  
  135. Example for /bpp:
  136.   Example: i_view32.exe c:\test.jpg /bpp=8
  137.   Supported BPP-values: 1, 4, 8 and 24 (decrease/increase color depth)
  138.   => Open 'c:\test.jpg' and reduce to 256 colors
  139.  
  140. Example for /filepattern:
  141.   i_view32.exe c:\images\ /thumbs /filepattern="*.jpg"
  142.   => Go to folder "c:\images\" and show JPG thumbnails only 
  143.   i_view32.exe c:\images\ /thumbs /filepattern="123*.jpg"
  144.   => Go to folder "c:\images\" and show JPG names "123*" as thumbnails
  145.