home *** CD-ROM | disk | FTP | other *** search
/ PC Active 2002 December / pca1412.iso / tools / irfan / i_options.txt < prev    next >
Encoding:
Text File  |  2002-04-25  |  5.2 KB  |  129 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           - capture the whole screen and show image in IrfanView
  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.  
  37. Notes:
  38. - Only lower case options are supported !
  39. - Input file name (if required) is always the first paramater!
  40. - Wildcards supported only for /convert and /print
  41.  
  42.  
  43. Example for conversion: 
  44.   i_view32.exe c:\test.bmp /convert=c:\giftest.gif
  45.   => Convert file: 'c:\test.bmp' to 'c:\giftest.gif' without GUI ;-)
  46.   i_view32.exe c:\*.jpg /convert=d:\temp\*.gif
  47.   i_view32.exe c:\*.jpg /resample=(500,300) /convert=d:\temp\*.png
  48.   i_view32.exe c:\*.jpg /print
  49.   (Note: supported are all IrfanView read/save formats except audio/video)
  50.  
  51. Example for slideshow: 
  52.   i_view32.exe /slideshow=c:\mypics.txt
  53.   (Note: The file 'c:\mypics.txt' contains, in each line, a name of the image,
  54.          including the full path OR path relative to "i_view32.exe". 
  55.          A hard return is needed at the end of each line)
  56.  
  57. Example for closeslideshow: 
  58.   i_view32.exe /slideshow=c:\mypics.txt /closeslideshow
  59.   => IrfanView will be closed after the last image from 'c:\mypics.txt'
  60.  
  61. Example for thumbnails: 
  62.   i_view32.exe c:\test\image1.jpg /thumbs
  63.   => open 'image1.jpg' and display thumbnails from directory 'c:\test'
  64.   or
  65.   i_view32.exe c:\test /thumbs
  66.   => display thumbnails from directory 'c:\test'
  67.  
  68. Example for close: 
  69.   i_view32.exe /killmesoftly
  70.   => close IrfanView and terminate all instances
  71.  
  72. Example for page:
  73.   i_view32.exe c:\test.tif /page=3
  74.   => Open page number 3 from the multipage image 'c:\test.tif'
  75.  
  76. Example for crop:
  77.   i_view32.exe c:\test.jpg /crop=(10,10,300,300)
  78.   => Open 'c:\test.jpg' and crop: x-start=10, y-start=10, width=300, height=300
  79.  
  80. Example for print:
  81.   i_view32.exe c:\test.jpg /print
  82.   => Open 'c:\test.jpg', print the image to default printer and close IrfanView
  83.   i_view32.exe c:\test.jpg /print="Printer Name"
  84.   => Open 'c:\test.jpg', print the image to specific printer and close IrfanView
  85.  
  86. Example for resize:
  87.   i_view32.exe c:\test.jpg /resize=(300,300)
  88.   => Open 'c:\test.jpg' and resize: width=300, height=300
  89.   i_view32.exe c:\test.jpg /resize=(300,0)
  90.   => Open 'c:\test.jpg' and resize: width=300, height=proportional
  91.   i_view32 c:\test.jpg /resize=(150p,150p)
  92.   => Open 'c:\test.jpg' and resize: width=150%, height=150%
  93.  
  94. Example for resample:
  95.   i_view32.exe c:\test.jpg /resample=(300,300)
  96.   => Open 'c:\test.jpg' and resample: width=300, height=300
  97.   i_view32.exe c:\test.jpg /resample=(0,300)
  98.   => Open 'c:\test.jpg' and resample: width=proportional, height=300
  99.   i_view32 c:\test.jpg /resample=(50p,70p)
  100.   => Open 'c:\test.jpg' and resample: width=50%, height=70%
  101.  
  102. Example for capture:
  103.   i_view32.exe /capture
  104.  
  105. Example for ini:
  106.   i_view32.exe /ini
  107.   i_view32.exe c:\test.jpg /ini
  108.   i_view32.exe c:\test.jpg /ini="c:\temp\"
  109.  
  110. Example for clipboard paste:
  111.   i_view32.exe /clippaste
  112.   i_view32.exe /clippaste /convert=c:\test.gif
  113.  
  114. Example for clipboard copy:
  115.   i_view32.exe c:\test.jpg /clipcopy
  116.   i_view32.exe c:\test.jpg /clipcopy /killmesoftly
  117.  
  118. Example for /invert:
  119.   i_view32.exe c:\test.jpg /invert
  120.  
  121. Example for /scan:
  122.   i_view32.exe /scan
  123.   i_view32.exe /scan /convert=c:\test.gif
  124.  
  125. Example for /bpp:
  126.   Example: i_view32.exe c:\test.jpg /bpp=8
  127.   Supported BPP-values: 1, 4, 8 and 24 (decrease/increase color depth)
  128.   => Open 'c:\test.jpg' and reduce to 256 colors
  129.