W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2013

Re: [whatwg] Proposal: downsample while decoding image blobs in createImageBitmap()

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 18 Dec 2013 23:29:17 +1300
Message-ID: <CAOp6jLZ1cG2WQYHeT5oaoZJ0tncaNNgWa2k_9QLnrR84QBBGSQ@mail.gmail.com>
To: David Flanagan <dflanagan@mozilla.com>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>, Rik Cabanier <cabanier@gmail.com>
Yes. Especially on these devices, JPEG decoding is undue latency.

Also, Rik's suggestion makes an ImageBitmap just a thin wrapper around a
Blob, with decoding performed every time we do a drawImage call. That's bad
for performance in many cases. David's proposal lets the author be a little
bit more explicit and the UA doesn't have to guess what to do.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w
Received on Wednesday, 18 December 2013 10:29:43 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:15 UTC