[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Native CD test results

From: Pavel Roskin
Subject: Re: Native CD test results
Date: Thu, 27 Mar 2008 17:46:03 -0400

On Thu, 2008-03-27 at 16:48 -0400, Pavel Roskin wrote:
> On Fri, 2008-03-28 at 04:25 +0800, Bean wrote:
> > This patch add support for 16-bit png.
> Thanks was quick!  It's working for me.

By the way, we should recognize images by their internal data, not by
the filenames.  As it stands now, the jpeg reader only supports files
with ".jpeg" extension, not with ".jpg", which is more popular.  And the
error message is unclear if the extension is unknown.

PNG begins with 89:50:4E:47, JPEG begins with FF:D8:FF:E0 and Targa can
start with 00:00:01:01, 00:00:02:00, 00:00:03:00, 00:00:09:01,
00:00:0A:00 and 00:00:0B:00.

If we have a good PNG support, we could drop Targa, which is rare and

Pavel Roskin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]