Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
It takes about 1.5s on my Mac but 20s on my Linux server (Debian Stretch). Both devices don't have much running other than my conversion command. The Mac has 2 cores and 16gb ram. The Linux box has 8 cores and 16gb ram.
It only happens with this image: (https://padlet-uploads.storage.googleap ... /photo.gif). Other image resizes are comparable in time. I have tried both with and without openmp (some old forum posts seemed to suggest openmp could be a problem).
fmw42 wrote: ↑2018-02-28T22:34:40-07:00
If on IM 7, your command should be using magick and not convert
I've wondered about this before: in what contexts should one use magick instead of convert or one of the other commands like identify (instead of info)?
EDIT: Looking at my system, I see that all the other commands are just symlinked to magick, so I assume that any time you use one of them, you're just saving on the typing of "magick" at the start. And it also looks like identify is faster than outputting to info:. But, as in the case here, why magick and not convert, and are there other similar contexts?
"convert" is a v6 command. "magick" is a v7 command. I use both versions, and I haven't set symbolic links in either direction because I want to be sure which version I am using.
For new scripts that are written for v7, there is no need to use "convert". If we use "convert" for v7, a person or a computer might think this is for v6.
For new scripts for v6, I use "convert". For new scripts for v7, I use "magick" (not "magick convert"). Similarly, for v7 I use "magick compare", "magick identify" etc.
For testing purposes, I also have a script that converts v6 scripts into v7 scripts, and runs both versions, and reports if the outputs are different.
snibgo wrote: ↑2018-03-03T19:52:22-07:00
"convert" is a v6 command. "magick" is a v7 command. I use both versions, and I haven't set symbolic links in either direction because I want to be sure which version I am using.
Ah, that makes some sense. FWIW, I'm using a homebrew-installed version on my Mac, which reports:
All of what I guess are the version 6 commands are symlinked to "magick", so I hadn't noticed that 7 differs from all the great how-to Usage files on-line:
I'm surprised those symlinks work. For example, "magick identify rose:" is a valid command but "magick rose:" isn't, so if "identify" is a symlink to "magick", is "identify rose:" valid somehow?
The usage pages, and my own pages, were written for v6. Using symlinks means the v6 documentation can be directly used for v7, except that v7 is different to v6, and isn't a drop-in replacement.
snibgo wrote: ↑2018-03-03T20:40:44-07:00
I'm surprised those symlinks work. For example, "magick identify rose:" is a valid command but "magick rose:" isn't, so if "identify" is a symlink to "magick", is "identify rose:" valid somehow?
Yep, so maybe there are other things going on. I can tell you that they work though.
(Is there work being done to update those Usage pages?)