libjpeg, libpng, zlib, freetype, libgd, and GD.pm

Downloaded, configured, and installed on my Mac

  • libjpeg
  • libpng
  • zlib
  • freetype
  • libgd
  • GD.pm

over and over agan, it seems.

But it was not for naught: I finaly got the Landscape Change Thumbnails/Zoom script to process all 12,000 files.

The Zoomify part was a bug in the ZoomifyBase.py code. There was a line

    tempImage = imageRow.resize((imageWidth/2, imageHeight/2), PIL.Image.ANTIALIAS)

well, if imageWidth or imageHeight was <=1, el bombo. Changed to

        halfWidth=max(1,(imageWidth/2))
        halfHeight=max(1,(imageHeight/2))
        tempImage = imageRow.resize((halfWidth, halfHeight), PIL.Image.ANTIALIAS)

Much happier now

About Wesley Wright

Born on a mountain top near New York City, Craziest state in the land of the pretty. Raised in the woods so's he knew every tree, Killed him a bear when he was only three.
This entry was posted in Projects, Systems and Servers. Bookmark the permalink.

Leave a Reply