
Structural Similarity Index (SSIM) in Python
Posted 19th February 2021
No comments
Quantitatively check the quality of a compressed image using a simple Python code for calculating the Structural Similarity Index (SSIM) and Mean Square Errors (MSE) between two images.

Multi-line gradient hyperlinks
Posted 18th February 2021
No comments
Use cascading style sheets to create a gradient underline link that will span multiple lines.

Peak Signal-to-Noise Ratio (PSNR) in Python
Posted 12th February 2021
No comments
Quantitatively check the quality of a compressed image using a simple Python code for calculating the Peak Signal-to-Noise Ratio (PSNR) between two images.

Reading EXIF data in Python
Posted 2nd February 2021
No 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.

Query a PostgreSQL database via Python
Posted 11th December 2020
No comments
Use this simple template script created in Python to connect to your PostgreSQL database and run a query.

How to change file permissions in Git on Windows
Posted 9th December 2020
No comments
Make a Git repository file on a local Windows machine executable by changing the CHMOD value, which can be transferred to the repository following a push.

Styling the colour of <pre><code> horizonal scrollbars
Posted 4th December 2020
No comments
Despite the absence of a proper scrollbar colouring standard in Cascading Style Sheets (CSS), there is a way to colour the horizontal scrollbar in a <pre><code> block that will work in Edge, Safari, Firefox and Chrome.

Selectively rotating images in Python recursively
Posted 3rd December 2020
No comments
Use OpenCV in Python to recurse through directories and rotate selected images based on a string in their file name.

Rebuilding my website: 2020
Posted 25th November 2020
No comments
It’s been seven years since I last re-designed my personal website. Here is a look at the technologies that I used to build my new website.

Add a simple search box to a Microsoft Access form
Posted 12th November 2020
No comments
A step-by-step guide to adding a simple search box to a Microsoft Access form.