W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2011

[whatwg] Rich Paste & DataTransfer / DataTransferItems API

From: Glenn Maynard <glenn@zewt.org>
Date: Mon, 14 Mar 2011 23:14:42 -0400
Message-ID: <AANLkTin13+2yLQy+j--w47OLJiDt2TWEvjLNfcO1icg2@mail.gmail.com>
On Mon, Mar 14, 2011 at 10:47 PM, Daniel Cheng <dcheng at chromium.org> wrote:
> Is there an alternate bitmap format that's likely to be widely supported
> across different browsers? I picked PNG since if the compression proves to
> be expensive, we can simply try less hard to compress the data (at the
> extreme end, we don't compress it at all and it basically just becomes a
> bitmap container).

Yeah, but if the user can't say whether the user wants compressed data
or not, just tweaking the compression level is always going to be bad
for one use case (canvas) or the other (uploads).

Using PNG even for uncompressed data does sound better than BMP.
Alpha channel, 16bpp color, color management, etc. can all still

Glenn Maynard
Received on Monday, 14 March 2011 20:14:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:31 UTC