mirror of
https://github.com/yuriskinfo/cheat-sheets.git
synced 2025-12-21 21:33:25 +01:00
ImageMagic cheat sheet
This commit is contained in:
@@ -1 +1,14 @@
|
||||
= ImageMagick Command Line Examples
|
||||
|
||||
|
||||
== Rotate images 90 degrees
|
||||
|
||||
Use `convert` tools in a bash script to rotate all .jpg images in the current folder, naming the rotated images as _current-name_-rotated.jpg
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
for ii in *.jpg
|
||||
do
|
||||
convert ${ii} -rotate 90 ${ii}-rotated.jpg
|
||||
done
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user