Skip to main content

Posts

Showing posts from 2017

Resize photo/images in bulk

http://www.imagemagick.org/script/convert.php
http://www.imagemagick.org/script/command-line-processing.php

Example Usage:-

$ convert rose.jpg rose.png
$ convert rose.jpg -resize 50% rose.png
$ convert -size 320x85 canvas:none -font Bookman-DemiItalic -pointsize 72 \
-draw "text 25,60 'Magick'" -channel RGBA -blur 0x6 -fill darkred -stroke magenta \
-draw "text 20,55 'Magick'" fuzzy-magick.png
$ convert input.png -colorspace RGB +sigmoidal-contrast 11.6933 \
-define filter:filter=Sinc -define filter:window=Jinc -define filter:lobes=3 \
-resize 400% -sigmoidal-contrast 11.6933 -colorspace sRGB output.png

Given the complexity of the rendering, you might be surprised it is accomplished by a single command-line:
convert -size 320x90 canvas:none -stroke snow4 -size 1x90 -tile gradient:white-snow4 \ -draw 'roundrectangle 16, 5, 304, 85 20,40' +tile -fill snow \ -draw 'roundrectangle 264, 5, 304, 85 20,40' -tile gradient:chart…