Opened 6 months ago

Closed 6 months ago

#69479 closed defect (invalid)

Wrong command line invocation for ImageMagick after installing with MacPorts?

Reported by: GittyGharial Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), Dave-Allured (Dave Allured)
Port: ImageMagick

Description

I installed ImageMagick ImageMagick @6.9.11-60_12+x11 with the command here: https://ports.macports.org/port/ImageMagick/

I wanted to convert some images. However, when I tried to invoke the conversion command per ImageMagick's official documentation here (https://imagemagick.org/script/convert.php) with magick rose.jpg rose.png, I got the error, "-bash: magick: command not found".

I tried `convert rose.jpg rose.png' and it worked fine.

I'm glad I could use the tool, but the fact that it doesn't match the documentation is concerning.

Change History (3)

comment:1 Changed 6 months ago by jmroot (Joshua Root)

Cc: ryandesign Dave-Allured added

The documentation you are following seems to assume ImageMagick version 7, while the ImageMagick port is version 6. There is a separate ImageMagick7 port. I assume the maintainers have their reasons for making the unqualified port name an older version.

comment:2 Changed 6 months ago by Dave-Allured (Dave Allured)

That is correct, port ImageMagick is the legacy version 6. Legacy documentation is here: https://legacy.imagemagick.org

For the current version, please install port ImageMagick7.

Someone please close this ticket as resolved. Thanks.

comment:3 in reply to:  1 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Replying to jmroot:

I assume the maintainers have their reasons for making the unqualified port name an older version.

There are a bazillion ports depending on ImageMagick. I imagined that a fair number of them would be broken by updating to version 7 which I was not prepared to invest time in fixing so I did not pursue updating to that version. Dave independently created the ImageMagick7 port.

Note: See TracTickets for help on using tickets.