1

I want to use imagemagick to automate some image conversions. Unfortunately, when installed by building the source it misses the codec for opening png images. As far as I can tell, the fix for this is installing imagemagick 'properly' from a repository through apt source. The issue is, however, when I run sudo apt install imagemagick, apt says that it is already installed (even though I don't have the magick or any other commands)

Error message from the magick command when opening a png file (command from manually made/installed magick):

magick: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/556.
4
  • Can you give some background on why you installed from source, when it comes baked into Ubuntu? Might help understand the situation you are in. Aug 16, 2019 at 1:09
  • As stated, while apt said it was installed it doesn't look like I have access to the actual commands (magick, etc)
    – Snappawapa
    Aug 16, 2019 at 1:10
  • Why did you install it from source? Aug 16, 2019 at 1:11
  • because there were alot of guides online saying that was how install it. and unsure of what else to doif apt said it was installed but couldn't actually use it
    – Snappawapa
    Aug 16, 2019 at 1:13

1 Answer 1

2

Figured it out, turns out that while the magick command is not available, the other commands are; convert, etc.

I used man imagemagick to find this out.

So...

Instead of: magick pic.png pic.tiff

Use: convert pic.png pic.tiff

Leaving this q/a here for posterity because I can't be the only one confused by the lack of the magick command.

1
  • You're a hero mate. I was going insane over this. Thanks for posting your solution. Sep 6, 2020 at 13:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .