IMMUSE is command-line image conversion and manipulation utility
immuse -r 90 -a -f gif *.jpg
immuse -i jpeg file.bin -f png -o file.png
immuse -x 800 -y 600 -q 77 ../*.jpg
IMMUSE offers the following image manipulations:
* format conversion (all supported by local Imager installation)
* scaling/resizing
* stretching
* aspect-preservig single dimension scaling/resizing
* flipping, horizontal and vertical
* rotation, CW. CCW and by EXIF information
* grayscale conversion
IMMUSE is designed to work on many files in one run but can be used on single file with optional destination filename change.
IMMUSE is written in Perl and uses Imager perl module.
usage: immuse <options> [input-files]
options:
-o output-file-name -- sets output file, works only for single input file
-f output-format -- sets output file format (i.e. JPEG, GIF, etc.)
-i input-format -- sets input file format (i.e. JPEG, GIF, etc.)
-x width -- sets output image width in pixels (keeps aspect!)
-y height -- sets output image width in pixels (keeps aspect!)
-x width% -- sets output image width in percents (keeps aspect!)
-y height% -- sets output image width in percents (keeps aspect!)
-h -- flip image horizontally
-v -- flip image vertically
-g -- convert image to grayscale
-r degrees -- rotate by degrees CW, negative for CCW
-r exif -- rotate by EXIF info
-q quality -- output quality in percents (if applicable)
-a -- always overwrite files (WARNING!)
-n -- never overwrite files (skip, existing)
-- -- end of options
* "-i list" or "-f list" will list supported file formats
* if both -x and -y specified, aspect will not be kept!
* use "-x nnnn -y 100%" to stretch horizontally
* use "-x 100% -y nnnn" to stretch vertically
* options cannot be grouped: -fd is invalid, correct is: -f -d
https://github.com/cade-vs/immuse
git clone git://github.com/cade-vs/immuse.git
2018-2021 (c) Vladi Belperchinov-Shabanski "Cade"
<[email protected]> <[email protected]> <[email protected]>
http://cade.noxrun.com/projects/immuse
http://github.com/cade-vs/immuse