Archive for May 2004

The PHP EXIF Library version 0.3 has been released

The latest version of PEL sports support for TIFF images and lots of other improvements. Read the announcement below, and go to the project page to download it.

Notes

Support was added for parsing TIFF images, leading to a mass renaming of files and classes to cleanup the class hierarchy. The decoding of EXIF data is now tested against known values (over 400 individual tests), this lead to the discovery of a couple of subtle bugs. The documentation has been updated and expanded.

Changes

  • Renamed all files and classes so that only EXIF specific code is labeled with Exif. So, for example, PelExifIfd is now PelIfd, since the IFD structure isn’t specific to EXIF but rather to TIFF images. The same applies to the former PelExifEntry* classes.

  • Fixed offset bug in PelDataWindow::getBytes() which caused the method to return too much data.

  • Added support for the SCENE_TYPE tag.

  • Fixed display of integer version numbers. Version “x.0″ would be
    displayed as just version “x” before.

  • Unit tests for EXIF decoding. PEL is now tested with an image from a Sony DSC V1 and one from a Canon IXUS II.

  • Changed all occurrences of include_once() to require_once() since the files are indeed required.

  • Updated documentation all over.

Hurry! PEL version 0.2 has escaped!

The PHP EXIF Library (PEL) is getting better and better, and version 0.2 was released today — go grab it if you want to play with it.

Notes

This release brings updated documentation and better support for the EXIF user comment tag and tags containing version information. The code is now tested using SimpleTest.

Changes

  • All PelExifEntry descendant classes now use setValue() and
    getValue() methods consistently.

  • Signed and unsigned numbers (bytes, shorts, longs, and rationals) are now handled correctly.

  • The SimpleTest (http://sf.net/projects/simpletest) framework is used for regression testing.

  • Added new PelExifEntryUserComment class to better support the EXIF user comment tag.

  • Added new PelExifEntryVersion class to support the EXIF tags with version information, namely the EXIF_VERSION, FLASH_PIX_VERSION, and INTEROPERABILITY_VERSION tags.

  • Updated doc comments all over.

The Royal Wedding

Monogram Even though I’m not particularly royal-minded I cannot help writing a little something about the wedding between Mary Donaldson and the Danish Crown Prince Frederik today in Copenhagen. The wedding will be today at 16:00.

I was up early (7:00) to put up the Danish flag “Dannebrog” at Skejbygård, and in doing so I noticed how many other flags there were up. I counted 31 flags in just the near surroundings of Skejbygård!

We’ll have a special bar later today at Skejbygård, and tonight there will be dinner at the basement — at the same time as the royals will have their dinner. I’m looking forward to it, even though I still don’t know what we’ll be eating :-)

While Mary and Frederik will enjoy their first weeks of being Crown Princess and Prince of Denmark, I’ll be studying for my exmas… But I wish them well anyway!

The PHP EXIF Library was on Freshmeat

Although SourceForge is slow with their updates of the statistics on the PEL project pages, I hope a few people have taken the oppotunity to download it. And accourding to the Freshmeat PEL page, then there has indeed been several hundred visits to either the PEL homepage or one of the files available at SourceForge for download.

I realize that PEL will have a limited audience the first few months, since it’s written in the yet-to-be-released version 5 of the PHP. This version is greatly improved, and I can only encourage people to download it right away and start playing with it — and why not use PEL which uses a lot of new PHP5 features. Go download PEL and play!

Exams are coming!

I found out today that I will be having my exams in [DAIMI:dSoegOpt][1] and [Geometri 1][2] on June the 3rd and 15th, respectively. So that means that I have three weeks to prepare for the dSoegOpt exam, and after that 12 days for the geometry exam. That’s pretty good I think… if not, then I have to make it good! :-)

After that I’ll have my summer holidays, I look forward to enjoying them after the exams.