Laur's blog
Sign in Subscribe

replace

A collection of 2 posts
Replace a colour in an image with imagemagick
batch

Replace a colour in an image with imagemagick

I had to change the colour of some monochrome icons for a personal project, from black to something else (i.e. not black). I've tried in python with PIL. Unfortunately, my attempts to use ImageOps failed miserably, because I'm working with RGBA images, not RGB :(. Of
Jun 8, 2016 2 min read
Simulate INSert key on mac OSX
commander

Simulate INSert key on mac OSX

Every once in a while I use MC (Midnight Commander) on OSX, simply because after all these years the two-pane file manager is still easier and quicker to use than the Finder. TL;DR: use <CTRL>+T to simulate INS key. Origins In my PC days, I used
Dec 4, 2013 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost