03 March 2005

PIL rocks!

Today I need to create a program for an image processing function. First I try the ImageMagick using the command-line. The problem is, it quite hard (at least for me) to get image width, height and use the parameters in shell script.
Another option is use PIL (Python Imaging Library). Then I manage to implement the script before due time.

Since I spent most of time programming using PHP, I always put semicolon ';' at the end of line in python script. Obviously it unnecessary in Python (not syntax error). I only notice that after my colleague correct me. This is one advantage of pair programming, though.

No comments: