Stonemind WEB ZoomifyImage 1.3 Released

ZoomifyImage 1.3 Released

I have released ZoomifyImage 1.3, which fixes a significant bug and adds two new contributions.

A bug was discovered by Donald Ball that can lead to this exception:

Traceback (most recent call last):File “ZoomifyFileProcessor.py”, line 135, in ? processor.ZoomifyProcess(sys.argv[1:])File “ZoomifyFileProcessor.py”, line 127, in ZoomifyProcess self.processImage()File “ZoomifyBase.py”, line 207, in processImage self.processRowImage(tier=tier, row=row)File “ZoomifyBase.py”, line 291, in processRowImage tempImage.save(root + str(tier) + ‘-‘ + str(row) + ext)File “Python24/Lib/site-packages/PIL/Image.py”, line 1405, in save save_handler(self, fp, filename)File “/Python24/Lib/site-packages/PIL/JpegImagePlugin.py”, line 409, in _save ImageFile._save(im, fp, [(“jpeg”, (0,0)+im.size, 0, rawmode)])File “/Python24/Lib/site-packages/PIL/ImageFile.py”, line 490, in _save e.setimage(im.im, b)SystemError: tile cannot extend outside image

Thanks to Donald Ball for alerting me to the above bug and for helping me diagnose it. Donald also added a contribution, “a class to process a source directory of mixed files (images and other media) and write the Zoomify directories to a separate destination directory.”

Finally, this update also includes Fran Firman’s pbmtools contribution which has been in CVS since the last release.

Related Post