[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: need this in KDE mime magic file
From: Thorsten Schnebeck <thorsten.schnebeck () gmx ! net>
Date: 2005-11-13 15:40:21
Message-ID: 200511131640.21884.thorsten.schnebeck () gmx ! net
[Download RAW message or body]
Am Samstag 12 November 2005 00:30 schrieb Dirk Mueller:
> On Saturday 29 October 2005 17:32, Thorsten Schnebeck wrote:
> > > ... if I come to the same conclusion?
> >
> > Same conclusion? :-)
>
> Hmm, I'm not convinced. Those *are* tiff files after all, no?
So I asked a GURU :-)
> Subject: Re: a simple question :-)
> Date: Sonntag 13 November 2005 14:13
> From: Phil Harvey <phil@physics.queensu.ca>
> To: phil@physics.queensu.ca, thorsten.schnebeck@gmx.net
>
> Hi Thorsten,
>
> It would definitely be better to check the offset first. If
> the offset is 16 and the "CR\2\0" exists at byte 8, then you
> can be reasonably sure this is a CR2. The chances of false
> matching a TIFF are essentially zero. I wouldn't check for
> the 'II' though, because Canon may use big-endiann cameras
> in the future, so I would also allow the corresponding 'MM'
> header in which bytes 4-8 will be in the reverse order.
>
> - Phil
Bye
Thorsten
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic