PEL version 0.5 released

The PHP EXIF Library (PEL) is written in pure PHP and makes it easy to read and write EXIF headers found in JPEG and TIFF images.

Notes

This release has been tested with images from a number of different camera models (from Fujifilm, Nikon, Ricoh, Sony, and Canon), leading to the discovery and fixing of a number of bugs. The API for PelJpeg::getSection() was changed slightly, making it more convenient to use. All classes and methods are now documented.

Changes

  • Some images have content following the EOI marker — this would make PEL thrown an exception. The content is now stored as a PelJpegContent object associated with the fictive marker 0x00.

  • Added code to handle images where the length of the thumbnail image is broken. PEL would previously throw an exception, but the length is now adjusted instead, and the parsing continues.

  • Fixed a number of bugs regarding the conversion back and forth between integers and bytes. These bugs affected the parsing of large integers that would overflow a signed 32 bit integer.

  • Fixed bug #976782. If an image contains two APP1 sections, PEL would crash trying to parse the second non-EXIF section. PEL will now just store a non-EXIF APP1 section as a generic PelJpegContent object.

  • Removed the PelJpegSection class. This lead to a rewrite of the PelJpeg::getSection() method, so that it now takes a PelJpegMarker as argument instead of the section number.

  • The byte order can now be specified when a PelTiff object is converted into bytes.

  • Updated documentation, PEL is now fully documented.

Download PEL

PEL is hosted on SourceForge:

http://prdownloads.sf.net/pel/pel-0.5.tar.bz2?download (354 KiB)
http://prdownloads.sf.net/pel/pel-0.5.tar.gz?download (514 KiB)
http://prdownloads.sf.net/pel/pel-0.5.zip?download (676 KiB)

Leave a comment