Live data from Hacker News

ImageMagick: CLI for Image Editing

imagemagick.org

41–50 of 101 posts

Re: ImageMagick: CLI for Image Editing

#41
Such a good suite of utilities. When I first got on campus UNIX in '95, I pretty quickly found this and tried in vain to get it running on various versions of IRIX, Solaris, AIX, and whatnot. Wasn't until I got Linux going that I could actually use it.

Re: ImageMagick: CLI for Image Editing

#42
post #11

I always found it fascinating the grade-A executable names which imagemagick was able to claim in the global namespace: imagemagick /usr/bin/animate imagemagick /usr/bin/compare imagemagick /usr/bin/composite imagemagick /usr/bin/conjure imagemagick /usr/bin/convert imagemagick /usr/bin/display imagemagick /usr/bin/identify imagemagick /usr/bin/import imagemagick /usr/bin/mogrify imagemagick /usr/bin/montage imagemag…

This looks like useful output, what distro and command did you use to list this?

Re: ImageMagick: CLI for Image Editing

#43

ImageMagick is an incredible bit of kit. It really is a piece of magic that surrounds us daily, that most people don't ever think about, but is easy to use, and insanely powerful.

Indeed there's a lot of very useful tools in there, with plenty of options to create custom workflow. I used `compare` with the fuzz option for instance to create a simple camera motion detection: https://github.com/laurent22/pmcctv/blob/e0930a0f7f51c319f66...

Re: ImageMagick: CLI for Image Editing

#45

Earlier quoted context omitted.

For each thing "everyone knows," there are tons of people learning about it for the first time right now . https://xkcd.com/1053/

It's definitely a point worth remembering. I sometimes think about AWS's one year free tier offerings and think.. WTF doesn't have an AWS account and would still be signing up in 2021? In reality it's probably a lot of people.

I'm a dev with 11 years in the field and I've never touched AWS. It is on the todo list though, so I'll get to it eventually.

It can be easy to forget how vast this field truly is.

Re: ImageMagick: CLI for Image Editing

#46
post #11

I always found it fascinating the grade-A executable names which imagemagick was able to claim in the global namespace: imagemagick /usr/bin/animate imagemagick /usr/bin/compare imagemagick /usr/bin/composite imagemagick /usr/bin/conjure imagemagick /usr/bin/convert imagemagick /usr/bin/display imagemagick /usr/bin/identify imagemagick /usr/bin/import imagemagick /usr/bin/mogrify imagemagick /usr/bin/montage imagemag…

They are pretty common verbs, but they give 0 context to the user on what they do. I don't think these names are in any demand -- there's always a better name than "import" for your command line utility.

Sounds like you want PowerShell style naming :)

Re: ImageMagick: CLI for Image Editing

#47

ImageMagick, ffmpeg, exiftool and YouTube-dl are 4 of the most useful tools via command line.

youtube-dl seems to be abandoned, now. yt-dlp (an actively developed fork of youtube-dl) seems to be it's accepted replacement, I think. fyi

You are correct. I switched to yt-dlp just couple days ago (didn’t remember the name when I was typing the comment). YouTube-dl had started having issues where the download speed was super slow and restarting the download also didn’t work. Yt-dlp fixed it.

Re: ImageMagick: CLI for Image Editing

#48
post #12

At my $OLDJOB, I used ImageMagick to compare snapshots during some automated front-end testing on our public Drupal site. It would compare the running test to previously accepted images, highlighting pixel diffs in red. It would also generate a 4 frame animated gif with of the original, highlit changes, the running test version, and back to the highlit changes (so it could loop for better comparison). Imagemagick sav…

Thanks for sharing this tip! Are there any guides you recommend? Edit: Here’s one guide for the legacy Imagemagick (may not work for the latest release), https://legacy.imagemagick.org/Usage/compare/ I’m trying to encourage my front end developers to use visual diffs to validate rendering rather than use Protractor to test HTML/CSS. I’ve known about BackstopJS, https://garris.github.io/BackstopJS/ and am on the looko…

Perceptual diff is another tool doing this:

http://pdiff.sourceforge.net

Re: ImageMagick: CLI for Image Editing

#49
Always my goto for any batch image manipulation. The documented examples are varied and helpful, but it takes a little while to get used to.

Here's one use of it in the wild, which batch takes a path of GAN output files, each with a grid of thumbnails, and splits them into individual images. Gloriously easy. https://github.com/binarymax/matchbox-twelvy/blob/master/dcg...

Post reply on HN