M. Eerie wrote: ↑02 Apr 2020, 07:47
This is the commit number. Imagemagick is in continuous development cycle and it seems they use this versioning convention.
Thanks for the info.
M. Eerie wrote: ↑02 Apr 2020, 07:47
How does one invoke them without going to the shell? Even more, how does one invoke them going to the shell through the AppImage?
How to use it?
Quite simple.
Code: Select all
$ ln -s ImageMagick-23e57a6-clang-x86_64.AppImage mogrify
Unless you are only using the symlink in the folder where ImageMagick-23e57a6-clang-x86_64.AppImage sits, you need to apply the full path to the target. To make it universally working, create the symlink in /usr/local/bin/ like so:
Code: Select all
# ln -s $(realpath ImageMagick-23e57a6-clang-x86_64.AppImage /usr/local/bin/mogrify
(The above only works if you are currently in the folder the AppImage itself is sitting, if not, replace the $(realpath […]) construct with the full path to the AppImage)
For my demonstration how it would work I used a local symlink that only works in the directory the AppImage is also in.
To use mogrify you then do:
Code: Select all
$ ./mogrify -verbose -format jpeg -quality 93 /tmp/Screenshot_2020-04-02_07-57-03.png
/tmp/Screenshot_2020-04-02_07-57-03.png PNG 313x73 313x73+0+0 8-bit sRGB 10104B 0.010u 0:00.011
/tmp/Screenshot_2020-04-02_07-57-03.png=>/tmp/Screenshot_2020-04-02_07-57-03.jpeg PNG 313x73 313x73+0+0 8-bit sRGB 15832B 0.000u 0:00.012
$ ls -o /tmp/Screenshot_2020-04-02_07-57-03.*
-rw-r--r-- 1 guest 15832 Apr 2 12:03 /tmp/Screenshot_2020-04-02_07-57-03.jpeg
-rw-r--r-- 1 guest 10104 Apr 2 07:57 /tmp/Screenshot_2020-04-02_07-57-03.png
HTH!
Cave! getting help can be a bit tricky:
Code: Select all
$ ./mogrify --help
mogrify: unable to open image '--help': No such file or directory @ error/blob.c/OpenBlob/3496.
mogrify: no decode delegate for this image format `' @ error/constitute.c/ReadImage/562.
___________________________
I usually use the fork,
GraphicsMagick , but was unable to find a binary for the most recent version, 1.3.35.
See my report here:
https://sourceforge.net/p/graphicsmagic ... on/250738/
And yes, I use a module of an older GM version, since you usually use it via console anyway.
(I tried downloading the most recent GM version and then extract the files to create a GM module for 5.0rc1 Porteus. Hopefully there are binaries for GM 1.3.35 and x86-64 Linux somewhere)