Rockbox mail archiveSubject: Re: FS#6321 - Universal Image Viewer
Re: FS#6321 - Universal Image Viewer
From: Marcin Bukat <marcin.bukat_at_gmail.com>
Date: Tue, 9 Nov 2010 18:35:29 +0100
2010/11/9 Alex Parker <parker.alex.e_at_gmail.com>:
> On 9 November 2010 16:57, Teruaki Kawashima <kamekun_at_r6.dion.ne.jp> wrote:
>> Thank you for suggestion and information.
>> I agree that it would be better to look for magic number.
>> but I'll leave it for now unless it causes serious problem that judging by
BTW. Aren't viewers bind to particular file extensions? If so I
wouldn't bother to do
any more advanced detection. If someone rename .bmp to .jpg it's
Decoders check magic numbers AFAIR and refuse to decode early.
Marcin Bukat (wodz)
Received on 2010-11-09