From: Jan P. <pa...@pi...> - 2005-04-04 07:52:32
|
> On Sun, 2005-04-03 at 20:07 +0200, Jan Patera wrote: >> EXIF_RESULT_UNKNOWN_TAG and EXIF_RESULT_WRONG_TAG_FORMAT, > > Do I understand correctly that you wouldn't be able to return both > EXIF_RESULT_UNKNOWN_TAG and EXIF_RESULT_WRONG_TAG_FORMAT together? Woul= d > you just return EXIF_RESULT_WARN and the first error code occurred? I would return the first (or last - must be discussed) error of the highest severity of all errors/warnings encountered. Presently, the current code gives up parsing an IFD if an unknown tag is encountered (unless in LIBMNOTE) which is not the case when wrong tag format is encountered (via CF & CC macros). Therefore EXIF_RESULT_UNKNOWN_TAG would be returned regardless of the order. The current code can encounter 2 non-100%OK codes only if they are encountered in two different IFDs. --- Jan |