home *** CD-ROM | disk | FTP | other *** search
/ PC Expert 27 / Pce27cd2.iso / Utilitarios / 200dicas / IrfanView / i_options.txt < prev    next >
Text File  |  2001-04-15  |  3KB  |  85 lines

  1. ---------------------------------------------------------------------------------
  2. File  : 'options.txt' - Command line options for IrfanView
  3. Author: Irfan Skiljan
  4. E-Mail: irfan@linux.tuwien.ac.at
  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 input image to default printer and close IrfanView
  24.   /resize=(w,h)      - resize input image to w (width) and h (height)
  25.   /resample=(w,h)    - resample input image to w (width) and h (height)
  26.   /capture           - capture the whole screen and show image in IrfanView
  27.  
  28. Note:
  29. - Only lower case options are supported !
  30.  
  31. Examples: 
  32.    i_view32.exe test.bmp /BF                 = incorrect
  33.    i_view32.exe test.bmp /bf /title=My PIC   = correct
  34.  
  35. Example for conversion: 
  36.   i_view32.exe c:\test.bmp /convert=c:\giftest.gif
  37.   => Convert file: 'c:\test.bmp' to 'c:\giftest.gif' without GUI :-)
  38.   (Note: supported are all IrfanView read/save formats except: 
  39.          AVI,MOV,MPG,WAV,MID,AIF,SND)
  40.  
  41. Example for slideshow: 
  42.   i_view32.exe /slideshow=c:\mypics.txt
  43.   (Note: The file 'c:\mypics.txt' contains, in each line, a name of the image,
  44.          including the full path. A hard return is needed at the end of each
  45.          line)
  46.  
  47. Example for closeslideshow: 
  48.   i_view32.exe /slideshow=c:\mypics.txt /closeslideshow
  49.   => IrfanView will be closed after the last image from 'c:\mypics.txt'
  50.  
  51. Example for thumbnails: 
  52.   i_view32.exe c:\test\image1.jpg /thumbs
  53.   => open 'image1.jpg' and display thumbnails from directory 'c:\test'
  54.   or
  55.   i_view32.exe c:\test /thumbs
  56.   => display thumbnails from directory 'c:\test'
  57.  
  58. Example for close: 
  59.   i_view32.exe /killmesoftly
  60.   => close IrfanView and terminate all instances
  61.  
  62. Example for page:
  63.   i_view32.exe c:\test.tif /page=3
  64.   => Open page number 3 from the multipage image 'c:\test.tif'
  65.  
  66. Example for crop:
  67.   i_view32 c:\test.jpg /crop=(10,10,300,300)
  68.   => Open 'c:\test.jpg' and crop: x-start=10, y-start=10, width=300, height=300
  69.  
  70. Example for print:
  71.   i_view32.exe c:\test.jpg /print
  72.   => Open 'c:\test.jpg', print the image to default printer and close IrfanView
  73.  
  74. Example for resize:
  75.   i_view32 c:\test.jpg /resize=(300,300)
  76.   => Open 'c:\test.jpg' and resize: width=300, height=300
  77.  
  78. Example for resample:
  79.   i_view32 c:\test.jpg /resample=(300,300)
  80.   => Open 'c:\test.jpg' and resample: width=300, height=300
  81.      (using the active resample filter from the I_VIEW32.INI)
  82.  
  83. Example for capture:
  84.   i_view32.exe /capture
  85.