Welcome to Teemu’s Blog

Picture of me.

Hi, my name is Teemu Harju. I'm a 27-year-old engineer from Espoo, Finland and this is site is my contribution to the world wide web. I'll write here about all kinds of stuff that interests me. Python coding is my passion. I'm also interested in different kinds of web technologies.

Python Imaging Library for Maemo 2.0

August 10th, 2006 by Teemu

As I got things going now, I decided to port (or more like package) the Python Imaging Library for the Maemo 2.0 platform. I decided to take the 1.1.6 beta release, since the 1.1.5 had some annoying bugs that made e.g., the pildriver.py script unusable. I hope that the 1.1.6 is more stable. You can get the deb packages for both armel and i386 from here.

Besides being a usefull Python library, you can use the included scripts to modify images on your 770. For example you can use the pildriver.py script to resize an image (larger.jpg) to size 320×240 and save it to a separate file (smaller.jpg) by typing the following line in terminal window…

pildriver.py save smaller.jpg resize 320 240 open larger.jpg

First experiments with the new Pymaemo

August 10th, 2006 by Teemu

Since summer holidays are now over (for me at least), it is time to start getting familiar with the new Pymaemo version for Maemo 2.0 platform. I decided to start with a no-brainer by porting the pysqlite library, since I thought it might be useful in my future projects. I’ll put the link to the deb-packages to the MaemoWiki Application Catalog.

I’m also continuing to work with the BitTorrent and Flickr Uploader clients that I wrote about earlier. I’m also very eager in testing the new D-Bus and GStreamer stuff that should also be possible in the new Pymaemo version. Maybe, I even get my tutorial section back up againg and updated to Maemo 2.0 stuff. But still the best Python tutorial so far can be found from the Maemo Howto pages.