ImageMagick: use "magick" instead of "convert"
Describe the Bug
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"
To Reproduce
$ tiv image.heic
Expected Behavio(u)r
No warning
Screenshots
No response
Version/Commit Hash
Terminal Image Viewer v1.2.1
OS Specifics
System Version: macOS 26.1 (25B78) Model Identifier: MacBookAir10,1
I'm fairly sure this is an issue with https://github.com/GreycLab/CImg, the library we depend on.
Then the appropriate thing to do would be to upstream the issue there.
Does the message always appear -- does heic work at all?
I am wondering why imagemagick would print this warning, as we are using it as a library... Perhaps their command detection is off in a weird way?
https://imagemagick.org/script/porting.php
IMPORTANT: The "magick" command is the new primary command of the Shell API, replacing the old "convert" command. To reduce the footprint of the command-line utilities, these utilities are symbolic links to the magick utility. Do not use magick convert. That is simply magick.
I was going to confirm with a minimal CImg example and then file an issue upstream, but I forgot. Sorry about that. That should probably be our next step.
On Fri, Dec 12, 2025 at 12:55 AM forthrin @.***> wrote:
forthrin left a comment (stefanhaustein/TerminalImageViewer#147) https://github.com/stefanhaustein/TerminalImageViewer/issues/147#issuecomment-3645030484
Then the appropriate thing to do would be to upstream the issue there.
— Reply to this email directly, view it on GitHub https://github.com/stefanhaustein/TerminalImageViewer/issues/147#issuecomment-3645030484, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2S7IYQNVW4QOV743GY2KT4BJKEDAVCNFSM6AAAAACOTGYLEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMNBVGAZTANBYGQ . You are receiving this because you modified the open/close state.Message ID: @.***>