Posted by emil on August 30th, 2006
In my Projects page I have a description of a tool called Image Grinder wich I’m working on. Since I’m implementing it in C++ and wxWidgets it takes some time (I don’t think C++ is a very creative language - don’t know why I chose it realy). Today I switched mode of the camera to capture both Raw and JPEG’s for each photo, and when I was about to transfer the images to my PC I realized that I need a good “Image Grinder” to copy the images to their locations. You see, I don’t want my Raw’s mixed up with the JPEG’s. I have two folders in my home directory: Pictures and RawPictures.
So I sat down for an hour or so implementing this functionality in a very simple Python script. Right now it requires a little configuration inside the script specifying an output directory per file extension (i.e. .jpg => /home/emil/Pictures etc.). It can be completely command line driven so it can be used from another script (listening on the D-Bus for USB events for instance) and simply takes a input directory and a description of the files.
Usage:
imagetransfer, v0.0.1 - Copyright (C) 2006 Emil Erlandsson
Usage: imagetransfer.py [path] ([description] -d)
Where …
* [path] is the location where the images are stored.
* [description] is optional. If not given, it will
be asked for via stdin.
* -d is also optional. If given (last) it will remove the
original files. Use with care!
I’m not sure if I will evolve the original Image Grinder idea or if I will play with this script some more and add features.
You can download the script here:
http://www.buglix.org/wp-content/uploads/imagetransfer.py and a needed utility script here:
http://www.buglix.org/wp-content/uploads/namefix.py
Update 2006-12-31
You can now get the code highlighted as well. Click on the links below for a prettified version:
Posted by emil on August 29th, 2006
During my vacation I have re-organized my digital photo collection. That includes starting to use digiKam to organize them, and flickr.com to show them.
My latest batch were taken during my first visit to the United States in February 2005. I was there to attend the yearly Eclipse conference Eclipsecon.
Posted by emil on August 25th, 2006
I just uploaded a small batch of images from when I and a friend (Olle) visited Abisko in the northern parts of Sweden back in 2004. The early winter there caught us by surprise, so we had to cut the joureny short, but still managed to get some nice shots out of it.
I also added some of my abstract and nature photos. In good time I hope to add more or less all my photos to flickr since they do not have a storage limit (even if there is a traffic limit of 2GB per month).
I also have some photos at pbase.com and the Swedish site fotosidan.se, but I will probably terminate those accounts (at least pbase.com since flickr offer much more for less money).
Stay tuned for more images in the next few months!
Posted by emil on August 24th, 2006
I just now published my first article on buglix.se. It was first published in a Swedish computer magazine back in 2003 so I will probably update this online version a bit when I have the time.
buglix.se » FluxBox – en funktionell lättviktare
I’m still tinkering with the UI of buglix.se so don’t be surprised if it looks completely different the next time you pay a visit.
Posted by emil on August 22nd, 2006
I have aquired the domain buglix.se where I soon will start a new web project. For four yeras now I have written articles for different paper magazines and now I think it is time to share these articles online too. The articles will be in Swedish only, and I will publish them when I get time to it (which will be soon since I’m on vacation ).
Posted by emil on August 22nd, 2006
Today I updated the About and Projects pages. I have not added something there in a very long time so it was definately time to do so now. I will keep updating the “Projects” page the next few days since I’m not ready with it yet.