W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: <canvas> JPEG quality

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 5 Aug 2008 09:22:21 +0000 (UTC)
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Cc: HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0808050921570.5140@hixie.dreamhostps.com>

On Mon, 16 Jun 2008, Lachlan Hunt wrote:
> Ian Hickson wrote:
> > Added a way to pass the JPEG quality to toDateURL().
> 
> The spec doesn't seem to clearly define what to do when the number is 
> outside the range of 0.0 to 1.0.  Should it use some default value?  It 
> also doesn't define what the default value should be.

The default is whatever it would do if the argument was omitted.


> The IDL doesn't list the method as being able to take extra arguments. 
> It only includes these two:
> 
>   DOMString toDataURL();
>   DOMString toDataURL(in DOMString type);
> 
> The latter of those should be changed to:
> 
>   DOMString toDataURL(in DOMString type, [Variadic] in any args);

Done.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 5 August 2008 09:34:50 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:57 UTC