ImageMagick-powered email image generation
Last modified Jun 16 2025.
Table of Contents
This is a quick post to show off the email address image shown on the contact page and how I threw it together.
I wanted to list my email address on my website, but putting it in plaintext can give those LLM scrapers and bots access to it easier. So, I generated an image with ImageMagick to display it.
After cross-referencing some documentation on how to handle text and warp the image, I figured out how to do what I wanted. I decided to put it in my website’s Makefile to make it easier to execute.
…That’s pretty much it. Here’s the code, though:
magick -background transparent -fill "#eeff11" -font "Iosevka" -size 220x60 \
-gravity center label:"mail@example.net" -wave -15x150 ./static/img/text.png
Thanks for reading this quick one. Check in later!