All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Adam7 and narrow PNG
Date: Wed, 02 Oct 2013 11:28:52 +0200	[thread overview]
Message-ID: <524BE754.9090807@gmail.com> (raw)
In-Reply-To: <BBCDB0B9B472124D9EED8CB900AA04CA1F92A3F1@corpappl747.corp.saab.se>

[-- Attachment #1: Type: text/plain, Size: 1761 bytes --]

On 02.10.2013 08:57, Melki Christian (consultant) wrote:
> Limited usefullness. I've used a lot of PNG's in GRUB lately and can't think of a reason why I would use either.
> Maybe paletted 8-bit (if-that’s what you meant?) to save space..
8-bit palette is an easy one. The tricky one is 4-/2-/1-bit palettes
(16-/4-/2-color) since then PNG packs several pixels in a single byte.
Usefulness of it to compress image is debatable since although it saves
space by itself, it messes with filter and huffman.
> but adam7? It's still going to be loaded as a bitmap.
> If I had some web png's and was to lazy to pass them through a converter...
The compatibility is the idea. Or if editor used by artist defaults to
adam7 and doesn't have an option (at least not easily accessible one) to
change this behaviour
> That beeing said, the work is done and unless it adds rediculous ammount of code size or execution time I'd be fine with the support.
> 
>> -----Original Message-----
>> From: grub-devel-bounces+christian.melki=saabgroup.com@gnu.org
>> [mailto:grub-devel-bounces+christian.melki=saabgroup.com@gnu.org] On
>> Behalf Of Vladimir 'f-coder/phcoder' Serbinenko
>> Sent: den 2 oktober 2013 02:25
>> To: The development of GRUB 2
>> Subject: Adam7 and narrow PNG
>>
>> It was reported that GRUB doesn't support Adam7 and paletteed PNGs.
>> Attached patch would implement both of them but combining them results
>> in quite complex code since PNG works on bytes even if bpp <= 4 but
>> adam7 works on pixels. Does anyone have thoughts on adam7 and narrow
>> PNG usefulness?
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]

  reply	other threads:[~2013-10-02  9:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-02  0:24 Adam7 and narrow PNG Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-02  6:57 ` Melki Christian (consultant)
2013-10-02  9:28   ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2013-10-02 12:05     ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=524BE754.9090807@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.