TODO - add my notes, and scripts
(on Wikipedia)
Chocolatey: imagemagick
https://imagemagick.org/script/index.php
ImageMagick is a software suite to create, edit, compose, or convert bitmap images.
It's pretty fucking magickal.
-
TODO - I didn't note the actual commands I use
- 2021-06-05 - I'm not sure why I had
ImageMagick-7.0.0-0-portable-Q16-x64
in my kit, but I'm removing it, since I generally use such tools within a VirtualBox installation. - 2018-07-11 - 7.0.7.38 on Windows 10 via Chocolatey
- 2017-10-05 - (version not recorded) on Windows 10 via Chocolatey
- I had an earlier version installed via Chocolatey for some time.
- 2016-04-27 - 7.0.0-0-portable-Q16-x64 on Windows 10
- 2016-04-27 - 6.9.3-8-Q16-x64 on Windows 10
- 2016-04-01 - 6.8.6_10-i486 on Slackware 14.1
- 2016-03-26 - 8:6.7.7.10-6ubuntu3 on Lubuntu 14.04.4 LTS
-
ImageMagick was installed by default on a number of other Linux distributions I've used. However, I don't recall if I used ImageMagick, or not, back then.
2016-04-27 - 7.0.0-0-portable-Q16-x64 ∞
After some googling with the previous version, I grabbed a portable version from ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/
Well.. it works.
-
misadventure - But good fucking luck trying to make an image slideshow which is imported into Open Broadcaster Software with transparency / chroma key. It's impossible. Antialiasing, fuzzing, feathering, colours, blah blah.. fuck it .. fuck it all!
2016-04-27 - 6.9.3-8-Q16-x64 ∞
Installed with Chocolatey with:
chocolatey.exe install imagemagick
I had to say yes to a bunch of prompts.
-
Comes with FFmpeg.
convert.exe -delay 1 *.png -loop 0 foo.mpg
convert.exe: unable to load module `C:\Program Files\ImageMagick-6.9.3-Q16\modules\coders\IM_MOD_RL_PNG_.dll': The specified module could not be found. @ error/module.c/OpenModule/1300. convert.exe: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/501. convert.exe: unable to load module `C:\Program Files\ImageMagick-6.9.3-Q16\modules\coders\IM_MOD_RL_PNG_.dll': The specified module could not be found. @ error/module.c/OpenModule/1300. convert.exe: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/501. convert.exe: unable to load module `C:\Program Files\ImageMagick-6.9.3-Q16\modules\coders\IM_MOD_RL_PNG_.dll': The specified module could not be found. @ error/module.c/OpenModule/1300. convert.exe: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/501. convert.exe: unable to load module `C:\Program Files\ImageMagick-6.9.3-Q16\modules\coders\IM_MOD_RL_PNG_.dll': The specified module could not be found. @ error/module.c/OpenModule/1300. convert.exe: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/501. convert.exe: unable to load module `C:\Program Files\ImageMagick-6.9.3-Q16\modules\coders\IM_MOD_RL_PNG_.dll': The specified module could not be found. @ error/module.c/OpenModule/1300. convert.exe: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/501. convert.exe: unable to load module `C:\Program Files\ImageMagick-6.9.3-Q16\modules\coders\IM_MOD_RL_PNG_.dll': The specified module could not be found. @ error/module.c/OpenModule/1300. convert.exe: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/501. convert.exe: unable to load module `C:\Program Files\ImageMagick-6.9.3-Q16\modules\coders\IM_MOD_RL_PNG_.dll': The specified module could not be found. @ error/module.c/OpenModule/1300. convert.exe: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/501. convert.exe: no images defined `foo.mpg' @ error/convert.c/ConvertImageCommand/3252.
-
I uninstalled it, but it uninstalled one package... where its installation was three. Sigh.
2016-04-01 - 6.8.6_10-i486 ∞
imagemagick-6.8.6_10-i486-1
This came with Slackware.
2016-03-26 - 8:6.7.7.10-6ubuntu3 ∞
Although the version I have installed is 8:6.7.7.10-6ubuntu3, I haven't used this in a long time. My originally-installed version may well be different than this currently-installed version.
(no notes were recorded)
This probably came with Lubuntu.
Usage ∞
Converting image formats ∞
\convert source.pdf target.jpg
Taking a screenshot ∞
\import -window root filename.png
Rotating PDFs ∞
(PDF)
\convert *.pdf all.pdf
Decrypting an encrypted PDF (into a low-resolution one) ∞
(PDF)
\convert source-encrypted.pdf target-decrypted.pdf
Combining PDFs ∞
(PDF · See also Combining PDFs on Linux)
\convert -verbose *.pdf target.pdf
Capturing an animation into multiple snapshots ∞
\import -delay 20 -snaps 4 snapshot.jpeg
Converting multiple static images into one animated image ∞
http://www.imagemagick.org/script/convert.php
http://www.imagemagick.org/script/command-line-options.php#delay
# tps is "ticks per second", the pause between every frame. tps=30 \convert -delay $tps input* output.png
Alternatives ∞
Last updated 2023-03-24 at 17:01:19
ported
killing on Windows, remains zombie on Linux