Since zlib support is a standard part of Python these days, I find it difficult to believe that you don't already have the zlib library installed. Just build PIL with PNG support (should happen automatically, shouldn't it?), and use PNG as your format. You'll save time in the long run. Bill