[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] PNG image reader
From: |
Bean |
Subject: |
Re: [PATCH] PNG image reader |
Date: |
Thu, 24 Jan 2008 20:59:27 +0800 |
On Jan 24, 2008 8:14 PM, Marco Gerards <address@hidden> wrote:
> It would be nice, not required. I don't expect too much problems
> here...
>
> Perhaps a better approach would be possible to do a check after
> reading a size:
>
> int size = foo();
>
> Check the size of the file here
>
> while (size--)
> {
> read pixels;
> }
>
>
png is compressed, it's not easy to separate the pixels.
> Or just check for grub_errno or so after reading the picture?
yes, after the picture is decoded, grub_errno is checked, if it's non
zero, the bitmap image will be deallocated.
--
Bean
- [PATCH] PNG image reader, Bean, 2008/01/11
- Re: [PATCH] PNG image reader, Bean, 2008/01/12
- Re: [PATCH] PNG image reader, Bean, 2008/01/14
- Re: [PATCH] PNG image reader, Marco Gerards, 2008/01/23
- Re: [PATCH] PNG image reader, Bean, 2008/01/23
- Re: [PATCH] PNG image reader, Marco Gerards, 2008/01/24
- Re: [PATCH] PNG image reader, Bean, 2008/01/24
- Re: [PATCH] PNG image reader, Marco Gerards, 2008/01/24
- Re: [PATCH] PNG image reader,
Bean <=
- Re: [PATCH] PNG image reader, Marco Gerards, 2008/01/25
- Re: [PATCH] PNG image reader, Bean, 2008/01/26
- Re: [PATCH] PNG image reader, Marco Gerards, 2008/01/29
- Re: [PATCH] PNG image reader, Bean, 2008/01/29