> Hofmann Johannes wrote:
> > On Wed, Apr 22, 2009 at 01:14:29AM -0700, Albrecht Schlosser wrote:
> ....
> >> "The only additional requirement" means for me that this is a requirement
> >> only for JFIF, but not for JPEG itself.
> >>
> >> If the intention in the original code was to test for JFIF, then it
> >> should have checked for exactly four bytes and the APP0 marker in the
> >> fourth byte (and maybe the following "JFIF\0" as well) and not a range.
> >
> > I think this is because it also want's to accept Exif files
> > (http://www.Exif.org/specifications.html).
> > They start like this:
> >
> > 00000000  ff d8 ff e1 3a 3b 45 78  69 66 00 00 4d 4d 00 2a 
> > |ÿØÿá:;Exif..MM.*|
> >
> > But Exif also requires it's marker to be first right after the SOI.
> > So I now think Michael is right and exiv2 should be fixed instead.
>
> I don't think so, but you may ask them anyway. I'm curious what they
> will reply.
>

The exiv2 maintainer has now opened a issue report regarding this:

http://dev.exiv2.org/issues/show/628

Thanks everyone for your help on this,
 Johannes

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to