RFC #0143: Image metadata API enhancements

at 2007-11-11 in RFCs by friebe (0 comments)

Scope of Change

  • The fromFile() methods will throw different exceptions for different cases of errors instead of only an ImagingException.
  • There will be an optional default argument to the IptcData::fromFile() and ExifData::fromFile() methods which will be returned in case no meta data can be found.
  • There will be a public EMPTY field in the ExifData and IptcData classes which will represent empty instances of the respective class.

Rationale
  • Be able to distinguish the cases when data cannot be read for I/O errors and when data is not existant or malformed.
  • Make handling of "no metadata found"-situations easier.

Read the full RFC here



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases
5.8-SERIES
Unicode
Language
5.9-SERIES

Related

Find related articles by a search for «RFC».