Re: [whatwg] Proposal: toDataURL “image/png” compression control

On Thu, May 29, 2014 at 4:50 PM, Rik Cabanier <cabanier@gmail.com> wrote:

> You don't need to hope for it. The future is already here:
> http://www.j15r.com/blog/2014/05/23/Box2d_2014_Update
> asm.js will be fast on all modern browsers before this feature would ship.
> As an author, I'd certainly prefer the most flexible solution that works
> everywhere.
>

I don't have the time to read all of this, but it doesn't seem to have
anything to do with SIMD instruction sets (which are notoriously difficult
to generalize).

Anyway, this has derailed the thread.  We have an API for compression
already.  It already supports a compression level argument for JPEG.
 Having an equivalent argument for PNG is a no-brainer.  The only
difference to JPEG is that it should be described as the "compression
level" rather than "quality level", since with PNG it has no effect on
quality, only the file size and time it takes to compress.

-- 
Glenn Maynard

Received on Thursday, 29 May 2014 22:19:35 UTC