Archive for category Programming

Stripping image metadata in Python

Currently, as part of my file deduper,  I’m opening images, copying the image data to a new file, and saving that file.This is done using the Python Imaging Module, or PIL. I’m actively using an updated fork of it called pillow. However, I’ve since discovered pyexiv2, something that says it allows the “access of … […]

, , ,

No Comments

Fun with Python and image processing

Today I got to work with something I’ve been meaning to for a while – Image processing with Python, in particular the PIL/Pillow library. (Pillow’s a forked, more up to date version of PIL, and it’s in PyPi.) So about 30 minutes after planning and googling and reading the docs, I have a first version […]

, ,

No Comments

supybot plugin development

Problems I’ve faced & how I fixed them:

, ,

No Comments

Dropbox API + Python to sync a folder

One of the more interesting Kickstarter projects that I saw recently is GameStow – software that would sync your saved game files to the cloud, an alternate to Steam Cloud Sync that’s not tied to Steam. I forget where I first saw it (most likely Slashdot or similar), but I fairly ignored it – I’ve […]

No Comments

Vote powered kickbanning – a supybot plugin

So… I’m an IRC operator on a fairly well traffic-ed channel (#twokinds on Nightstar, if you care – we’ve been averaging 55 people or so fairly consistently lately), and one of the things which I have to deal with is general malignants, which is generally done by kicking and banning them. Now, I’m not the […]

, ,

No Comments

Developing software – my process.

I generally don’t have any plans for developing specific software. What I do create is more stuff I find or think would be useful. My Lightroom plugin started from there – I saw that dA published an API, and so I thought about working with said API in Lightroom. Sounded like something fun to do, […]

, ,

No Comments

Clearing Lightroom plugin log files automatically

(Note: This is a copy of my article on Adobe’s Lightroom Developer Connection. Just in case anything happens to it.) Problem Logfiles grow over time if you don’t manage them, but Lightroom doesn’t provide a way to automatically delete the generated logfiles. We could manage the log ourselves, but we can’t tell Lightroom to log […]

,

No Comments

Lua WTFs: a boolean apparently isn’t a boolean.

It’s 1:30am, I’ve been working on this for the last few hours (and got afair bit of stuf done), but i can’t wrap my head around this last problem.

,

No Comments

Lightroom development tips & tricks: Dealing with asserts in an async task

Because I’ve encountered some problems, and found ways around them, but never documented them. I’m doing that now.

,

No Comments

Lightroom plugin dev environment

I’m adding stuff to my Sta.sh plugin for Lightroom, just because I can. (And while I wait for the Sta.sh API to stabilize.) Things like Auto-updating to the latest version Debug logging & submission of logs Usage tracking New Sta.sh API features (Like folder renaming, except it’s broken as of when I write this post.) […]

,

No Comments