Tuesday, December 11, 2007

[dos batch] Irfan view command line options

Original Source :: http://en.irfanview-forum.de/viewtopic.php?t=490

/one - force 'Only one instance'
/fs - force Full Screen display
/bf - force 'Fit images to desktop' display option
/title=text - set window title to 'text'
/pos=(x,y) - move the window to x,y
/convert=filename - convert input file to 'filename' and close IrfanView
(see Pattern page for additional options)
/slideshow=txtfile - play slideshow with the files from 'txtfile'
/slideshow=folder - play slideshow with the files from 'folder'

/thumbs - force thumbnails
/killmesoftly - close all IrfanView instances
/closeslideshow - close slideshow and close 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 input image to default printer and close IrfanView
/print="Name" - print input image 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=X - capture the screen or window (see examples below)
/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 error messages for command line read/save errors
/invert - invert the input image
/dpi=(x,y) - change DPI values
/scan - acquire the image from the TWAIN device - show TWAIN dialog
/scanhidden - acquire the image from the TWAIN device - hide TWAIN dialog
/batchscan=(options) - simulate menu: File->Batch Scanning, see below for example
/bpp=BitsPerPixel - change color depth of the input image to BitsPerPixel

/swap_bw - swap black and white color
/gray - convert input image to grayscale
/rotate_r - rotate input image to right
/rotate_l - rotate input image to left
/filepattern="x" - browse only specific files
/sharpen=X - open image and apply the sharpen filter value X
/contrast=X - open image and apply the contrast value X
/hide=X - hide toolbar, status bar, menu and/or caption of the main window (see examples below)

/aspectratio - used for /resize and /resample, keep image proportions
/info=txtfile - write image infos to "txtfile"
/append=tiffile - append image as (TIF) page to "tiffile"
/multitif=(tif,files) - create multipage TIF from input files
/jpgq=X - set JPG save quality
/tifc=X - set TIF save compression
/wall=X - set image as wallpaper
/extract=(file,ext) - extract all pages from a multipage file
/import_pal=palfile - import and apply a special palette to the image (PAL format)

/monitor=X - start EXE-Slideshow on monitor X

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...