Hello G’MIC Fans…
I had some errors when trying to save an animated gif using a G’MIC script on my Win11 system.
After several unsuccessful approaches I stumbled about below thread. - My errors were similar enough (tough not identical):
I tried the two sample commands of that thread, and received the following errors:
[gmic]-0./ Start G'MIC interpreter. [gmic]-1./ Input sample image 'lena' (1 image 512x512x1x3). [gmic]-1./ Input sample image 'tiger' (1 image 750x500x1x3). [gmic]-2./ Output images [0,1] as gif file 'dst.gif'. [gmic]-2./ *** Error *** Command 'output': [instance(512,512,1,3,000001b0f59f4040,shared)] gmic<float32>::save_other(): Failed to save file 'dst_000000.gif'. Format is not natively supported, and no external commands succeeded. [gmic] Command 'output' has the following description: ....
[gmic]-0./ Start G'MIC interpreter. [gmic]-1./ Input sample image 'lena' (1 image 512x512x1x3). [gmic]-1./ Input sample image 'tiger' (1 image 750x500x1x3). [gmic]-2./ Output images [0,1] as animated gif file 'dst.gif', with 1 fps. [gmic]-2./ *** Error *** Command 'output': [instance(2,16,000001a30187b8f8)] gmicList<float32>::save_gif_external(): Failed to save file 'dst.gif' with external command 'magick/convert'. [gmic] Command 'output' has the following description: ....
Especially the last error appears to point to a potential relation to a *Magick installation.
And this second error is exactly what I got within my own script.
I have no *Magic installed explicitely.
There is however enough (open source) software around on my system which may well include ImageMagick/GraphicsMagick.
I don’t know how G’MIC is searching for *Magick libraries, so I checked the system paths.
The only suspicious hint was to a texlive installation which can use ImageMagick.
I did however not find an installed package, so I also don’t know something like a version (WIN command line appears not to know imagemagick).
But anyhow - even if I should find some *Magick on my system - please expect that I don’t have much control about this installation.
Hence - Is there a way to avoid that G’MIC is searching for these *Magick libraries (and to force it to use its own possibilities if possible)?
Please however tell if you think that there is any other possible error - I’m an absolute beginner in G’MIC, so I may well make a basic error.
Also please tell if you need further input, e.g. about my actual use case (a more verbose output appear however not to show additional error specific information).
Thanks in advance!