frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A Draft of the ImageMagick Field Guide

https://joeldare.com/imagemagick-field-guide.html
12•codazoda•4mo ago

Comments

codazoda•4mo ago
I’ve been putting together a small “Field Guide” for ImageMagick. It’s meant to be a concise reference of commands that actually work in day-to-day use.

The first draft covers common tasks like resizing, optimizing GIFs, and stacking images, with short explanations for each flag.

I plan to expand it over time and create similar guides for other tools I use a lot, like Git and Docker. The idea is to build fast, reliable references for developers who just want to get things done. I also plan to release them in book form so you can read through, pick up a few “aha” insights, and keep it handy for the tasks you do often.

If that sounds useful, checkout the draft and signup to get updates as I finish it.

HTML: https://joeldare.com/imagemagick-field-guide.html PDF: https://joeldare.com/imagemagick-field-guide.pdf ePub: https://joeldare.com/imagemagick-field-guide.epub

I'd love to hear your feedback.

notachatbot123•3mo ago
Is this AI generated?

The "Conventions Used in This Guide" sound like your instructions.

    Use input.png and output.jpg as the filenames (extensions can change as needed).
    Put one switch on each line.
    Use future tense such as "optimize" instead of "optimizes" or "optimized".
    Use AP style heading capitalization.
    Use the newer magick command instead of the older convert command.
    Arbitrarily organize into what I think are the most likely use cases.
teruakohatu•3mo ago
It could be so that the book is easily consumed by AI
codazoda•3mo ago
I first wrote these instructions as reminders for myself. But, I do use AI in my daily work, and parts of this document are certainly touched by it. The instructions may even read that way because I'm getting used to talking to AI that way. One of them, in particular, was copy/pasted after asking an AI to use the `magick` command instead of `convert`. Then, I pasted it into this list so that I'd remember to continue the pattern through the guide.
ZoomZoomZoom•3mo ago
Great if this is working for you and helps you to recall basic usage when using IM once in a blue moon.

For any serious work this is inadequate (see † below), as the defaults, which are relied on here pretty extensively, are inevitably giving fair to middling results on specific tasks.

Moreover, imagemagick has an extensive documentation that's open to contribution and could possibly benefit from more usage examples for beginners: https://imagemagick.org/script/magick.php

†: For example, when you don't have strict control over input formats, you start adding things like

   -define tiff:ignore-layers=true "INPUT[0]"
to guarantee you're working on the whole composite image.

Another thing you're bound to bump into pretty soon is transparency so you need to decide how you're going to deal with it. Color profiles is a minefield and it's a blessing when you can just ignore them completely but a pain when you can't.

Then, exporting to web mostly means downscaling, and here you need to decide whether you're prioritizing image detail preservation or size optimization. In any case, resampling in a linear colorspace is strongly recommended:

  -colorspace RGB -filter X -resize N> -colorspace sRGB

But check if it works with the chosen filter first! I spent an hour hunting the source of randomly appearing hot pixels on the downscaled images from noisy sources when using LUV for processing.

The point is, basic one-liners hide the complexity. For any workflow that requires robustness and fidelity a deep dive into the documentation is a requirement.

codazoda•3mo ago
I don't really have that problem. I mostly use either png's (screenshots) or jpeg's (photos). You could certainly run into that problem if you're dealing with lots of formats or with other peoples files.

My intent is for this to give you solid starting points to work from in some situations. Individually these commands were first written for myself and published online. Those pages became somewhat popular, like people were looking for some specific examples. So, I thought I'd try combining them and see if people found it useful enough to encourage me to spend the time to expand the list into something more.

Tiny C Compiler

https://bellard.org/tcc/
110•guerrilla•3h ago•47 comments

SectorC: A C Compiler in 512 bytes

https://xorvoid.com/sectorc.html
193•valyala•7h ago•36 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
114•surprisetalk•7h ago•117 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
44•gnufx•6h ago•45 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
134•mellosouls•10h ago•282 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
880•klaussilveira•1d ago•270 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
132•vinhnx•10h ago•15 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
166•AlexeyBrin•13h ago•29 comments

FDA intends to take action against non-FDA-approved GLP-1 drugs

https://www.fda.gov/news-events/press-announcements/fda-intends-take-action-against-non-fda-appro...
63•randycupertino•3h ago•97 comments

First Proof

https://arxiv.org/abs/2602.05192
98•samasblack•10h ago•65 comments

I write games in C (yes, C) (2016)

https://jonathanwhiting.com/writing/blog/games_in_c/
173•valyala•7h ago•154 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
269•jesperordrup•17h ago•86 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
85•thelok•9h ago•18 comments

The F Word

http://muratbuffalo.blogspot.com/2026/02/friction.html
97•zdw•3d ago•49 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
28•mbitsnbites•3d ago•2 comments

Eigen: Building a Workspace

https://reindernijhoff.net/2025/10/eigen-building-a-workspace/
5•todsacerdoti•4d ago•1 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
53•momciloo•7h ago•10 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
550•theblazehen•3d ago•204 comments

Microsoft account bugs locked me out of Notepad – Are thin clients ruining PCs?

https://www.windowscentral.com/microsoft/windows-11/windows-locked-me-out-of-notepad-is-the-thin-...
86•josephcsible•5h ago•109 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
252•1vuio0pswjnm7•14h ago•395 comments

Selection rather than prediction

https://voratiq.com/blog/selection-rather-than-prediction/
25•languid-photic•4d ago•7 comments

Reinforcement Learning from Human Feedback

https://rlhfbook.com/
112•onurkanbkrc•12h ago•5 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
138•videotopia•4d ago•46 comments

A Fresh Look at IBM 3270 Information Display System

https://www.rs-online.com/designspark/a-fresh-look-at-ibm-3270-information-display-system
58•rbanffy•4d ago•18 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
216•limoce•4d ago•123 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
125•speckx•4d ago•188 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
294•isitcontent•1d ago•39 comments

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
305•alainrk•12h ago•492 comments

72M Points of Interest

https://tech.marksblogg.com/overture-places-pois.html
48•marklit•5d ago•9 comments

The silent death of Good Code

https://amit.prasad.me/blog/rip-good-code
56•amitprasad•2h ago•63 comments