I’m trying to save an animated gif by calling the Gif Stack Writer from my Java code, but either the class needs a windowed instance of IJ, or, when I use IJ.run("Animated Gif … "), I get the following error:
“Unrecognized Command: Animated Gif…”
I am sure the spelling is correct.
It happens very often for different commands that the command is best suited for Fiji GUI and not for code calls, but I never find a clear answer.
How to solve this?