Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

OGP Image Format Support on Major Sites and Apps

· 10 comments · 450 words · Viewed ~1,348 times


OGP Logo of a hexagon connected with internal and external lines.

I've built a quick tool to see which image formats are supported on sites that allow Open Graph Protocol link previews. As I've whinged about before, Facebook have all-but abandoned their efforts to standardise OGP. Which leads to a situation where a bunch of sites all have conflicting requirements on what they'll show. There's no easy way to find out which sites support which image formats, so…

Which Copyleft Licence is Suitable for an SVG?

· 10 comments · 1,150 words · Viewed ~2,709 times


Some giant question marks standing in a field. Photo by https://www.flickr.com/photos/dbrekke/181939582/

The Scalable Vector Graphics (SVG) format is amazing. It allows you to precisely define how an image should look. Written in XML, it uses various mathematical operations to display an image which looks crisp and clear at any size. Here's a trivial example: <svg height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg"> <circle cx="50" cy="50" fill="#f00" r="50"/>…

What's the smallest file size for a 1 pixel image?

· 15 comments · 500 words · Viewed ~4,397 times


An icon representing a broken image.

There are lots of new image compression formats out there. They excel at taking large, complex pictures and algorithmically reducing them to smaller file sizes. All of the comparisons I've seen show how good they are at squashing down big files. I wanted to go the other way. How good are modern codecs at dealing with tiny files? Using GIMP, I created an image which was a single white pixel,…

Selectively Compressed Images - A Hybrid Format

· 7 comments · 350 words · Viewed ~444 times


Screenshot of a camera app on a phone. The middle is a photo, the sides show the user interface.

I have a screenshot of my phone's screen. It shows an app's user interface and a photo in the middle. Something like this: If I set the compression to be lossy - the photo looks good but the UI looks bad. If I set the compression to be lossless - the UI looks good but the filesize is huge. Is there a way to selectively compress different parts of an image? I know WebP and AVIF are pretty…

Raster. Vector. Generative.

· 6 comments · 400 words · Viewed ~263 times


Ai generated image using the prompt "A photo of a painter painting a picture of a the Mona Lisa. The painter's head has been replaced with a laptop screen showing binary code."

When I was a kid, I "invented" a brilliant new compression format. Rather than sending a digital image of, say, the Mona Lisa a user could just send the ASCII characters "Mona Lisa". The receiving computer could look up the full image in its memory-banks and reproduce the work of art on screen. Genius! Of course, it relies on the receiver have a copy of every single image in existence, but…

You can't screenshot or right click this image

· 14 comments · 550 words · Viewed ~1,937 times


A badly drawn cartoon of a monkey in a t-shirt.

People contact me with all sorts of weird opportunities. Some are fun. Some are not. I've lost count of the number of NFT grifters who've asked me to "revolutionise" the art space. I'm generally not a fan. But I had one chat with someone who wanted to do something intriguing. They were worried about people right-clicking or screenshotting their precious images and had a plan to stop that. I…

Other pixel-level meta data you could put in an image format

· 6 comments · 700 words · Viewed ~316 times


Two children sat on a ledge. One has a tightly bound yellow border around their outline. The other has a similar green border. The wall they're sitting on has a red border which follows its shape.

Image files are a grid of pixels - each pixel contains colour information. But they don't just have to contain colour information. Here are some thoughts on other things that a future image format might contain. What exists already? A typical bitmap image looks like this under the hood: 0 1 2 3 0 Black Red Red Blue 1 Red White Blue Yellow 2 Orange Purple Green…

Quick Image Montages

· 3 comments · 250 words · Viewed ~328 times


85 Book Covers.

(Mostly notes to myself.) If you have a lot of images in a directory, and want to quickly make an image montage, here's how to do it on Linux using ImageMagick. First up, this command finds all JPG file, then resizes them so they fit in a maximum box of 256x256, then sets the quality to 75%, then saves them as JPGs: find ./ -type f -iname "*.jpg" -exec mogrify -verbose -format jpg -layers…

Turning an eInk screen into a monochrome art gallery

· 7 comments · 1,350 words · Viewed ~6,999 times


Previously on Terence Eden's Blog: I turned an old eReader into an Information Screen. This time, I'm taking a different Nook, and turning it into a magic gallery. Here's what it looks like in action: Terence Eden is on Mastodon@edentUpcycled an old eReader into an art frame.Displays a new black & white piece of art from Flickr every few minutes.Full write-up this weekend, but pretty…

Coping with HEIC in the browser

· 15 comments · 500 words · Viewed ~12,540 times


The best camera is the one that's with you./

Apple's HEIC format is... annoying. At the moment, Apple's products are the only mainstream cameras which use it. Forums are littered with people trying to upload HEIC files to web services and failing. So, here are four quick tips for dealing with this formal. Display in browser Absolutely no browser supports HEIC. Not even Apple's own browser supports it. Why? Terence Eden is on…

Three small tips for shrinking SVG images

· 8 comments · 300 words · Viewed ~866 times


Rows of icons - each one has the size printed next to it.

I work on the SuperTinyIcons project. Our aim is to make pixel perfect SVG icons in under 1KB. Because SVG can be quite verbose, every single redundant byte we can eliminate is a byte we can use in drawing. Here are three quick tips for shaving a few bytes off an SVG. Decimal Magic SVG co-ordinates can have decimal precision, like: 123.456. But what about co-ordinates which are less than one? …

Some updates to SuperTinyIcons

· 250 words · Viewed ~220 times


Rows of icons - each one has the size printed next to it.

I love reading Changelogs - but I hate writing them. Here's what's changed with SuperTinyIcons since I launched it in 2017. It's a project to create SVG logos of popular services in under 1KB. Maximum filesize is 1,023 bytes. New Contributors! What started off as just me noodling around, has now attracted over 60 contributors! Some just drive-by and make a single change, others stay for a…