Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

Docker logo

Build a Docker container image

Posted 25th November 2024

No comments

Linux containers are a way to build a self-contained environment that includes software, libraries, and other tools. They’re immensely useful and this guide describes my method for creating them.

Read the full story...

Python logo

Structuring elements in Python

Posted 1st September 2022

1 comment

Some simple methods to generate structuring elements as part of an image morphology pipeline in Python.

Read the full story...

Python logo

Convert RGB to CMYK in Python

Posted 26th March 2021

1 comment

Efficient Python code for taking a RGB image and converting it to CMYK before splitting the relevant channels out.

Read the full story...

Python logo

Reading EXIF data in Python

Posted 2nd February 2021

2 comments

In order to review the properties of various common-format image files, I wrote a command-prompt script in Python that will display EXIF data and other properties of JPG, PNG, TIF, CR2 and NEF files.

Read the full story...

The official WebP logo

Serving WebP with fallback

Posted 5th November 2020

No comments

Two methods to serve WebP images with a fallback for instances where a browser/OS combination doesn’t support it.

Read the full story...

SVG not displaying in Chrome browser

Posted 31st August 2020

No comments

A simple solution for a situation when a SVG fails to display in Google Chrome but works in other browsers.

Read the full story...

Rotate or flip multiple image files using PowerShell

Posted 4th March 2016

4 comments

Use a PowerShell script in Microsoft Windows to rotate or flip large numbers of images automatically.

Read the full story...

Batch save images into a new format via PowerShell

Posted 18th December 2015

5 comments

Use a PowerShell script to copy all images in a directory and save them into a different image file format.

Read the full story...

PowerShell logo

Script to list image files by size and resolution, export to Excel

Posted 24th September 2014

9 comments

Instructions for using PowerShell to export a list of images and their properties to Excel as a tab-delimited CSV.

Read the full story...

Responsive images made easy

Posted 17th January 2014

3 comments

In this era of ‘Responsive Web Design’ where websites need to function well on smartphones and tablets as well as desktop computers, finding a solution for a website’s images can be tricky.

Read the full story...