Category: Development

Batch autocropping images the easy way with ImageMagick

I had almost 600 images I wanted to autocrop. It would take about a minute to autocrop each image manually since I would have to repeatedly go through a process of open image, autocrop, export, close. You can imagine how much time it would take to do this manually almost 600 times (about a full working […]

How to randomise the order of paragraphs with PHP

One part of launching new websites which offer pretty much the same products and services is rewriting content so that it doesn’t appear to be a direct copy of exiting websites. To help me rewrite articles, I find it helps me to randomise the order of key selling points so I can focus on rewriting them rather […]