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

2014-05-30 Thread Justin Novosad
Backtracking here. The just do it in script argument saddens me quite a bit. :-( I don't agree that it is okay to be in a state where web apps have to depend on script libraries that duplicate the functionality of existing Web APIs. I mean, we put a lot of effort into avoiding introducing

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

2014-05-30 Thread Rik Cabanier
On Fri, May 30, 2014 at 8:44 AM, Justin Novosad ju...@google.com wrote: Backtracking here. The just do it in script argument saddens me quite a bit. :-( I don't agree that it is okay to be in a state where web apps have to depend on script libraries that duplicate the functionality of

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

2014-05-30 Thread Anne van Kesteren
On Fri, May 30, 2014 at 5:44 PM, Justin Novosad ju...@google.com wrote: The just do it in script argument saddens me quite a bit. :-( Agreed, however for this particular case, I'm not sure it makes much sense to further enshrine a synchronous API for serializing an image. --

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

2014-05-30 Thread Glenn Maynard
On Fri, May 30, 2014 at 12:46 PM, Anne van Kesteren ann...@annevk.nl wrote: On Fri, May 30, 2014 at 5:44 PM, Justin Novosad ju...@google.com wrote: The just do it in script argument saddens me quite a bit. :-( Agreed, however for this particular case, I'm not sure it makes much sense to

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

2014-05-30 Thread Justin Novosad
On Fri, May 30, 2014 at 1:59 PM, Glenn Maynard gl...@zewt.org wrote: On Fri, May 30, 2014 at 12:46 PM, Anne van Kesteren ann...@annevk.nl wrote: On Fri, May 30, 2014 at 5:44 PM, Justin Novosad ju...@google.com wrote: The just do it in script argument saddens me quite a bit. :-( Agreed,