Skip to content

Commit

Permalink
Remove ImageDecoderInit.premultiplyAlpha
Browse files Browse the repository at this point in the history
Fixes #508
  • Loading branch information
dalecurtis authored Sep 16, 2022
1 parent 938df12 commit 4f36291
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -4722,8 +4722,7 @@
3. Assign `true` to {{ImageDecoder/[[message queue blocked]]}}.
3. Enqueue the following steps to the {{ImageDecoder/[[codec work queue]]}}:
1. Configure {{ImageDecoder/[[codec implementation]]}} in accordance
with the values given for {{ImageDecoderInit/premultiplyAlpha}},
{{ImageDecoderInit/colorSpaceConversion}},
with the values given for {{ImageDecoderInit/colorSpaceConversion}},
{{ImageDecoderInit/desiredWidth}}, and
{{ImageDecoderInit/desiredHeight}}.
2. Assign `false` to {{ImageDecoder/[[message queue blocked]]}}.
Expand Down Expand Up @@ -5113,7 +5112,6 @@
dictionary ImageDecoderInit {
required DOMString type;
required ImageBufferSource data;
PremultiplyAlpha premultiplyAlpha = "default";
ColorSpaceConversion colorSpaceConversion = "default";
[EnforceRange] unsigned long desiredWidth;
[EnforceRange] unsigned long desiredHeight;
Expand Down Expand Up @@ -5148,11 +5146,6 @@
:: {{BufferSource}} or {{ReadableStream}} of bytes representing an encoded
image file as described by {{ImageDecoderInit/type}}.

: <dfn dict-member for=ImageDecoderInit>premultiplyAlpha</dfn>
:: Controls whether decoded outputs' color channels are to be premultiplied by
their alpha channel, as defined by {{ImageBitmapOptions/premultiplyAlpha}}
in {{ImageBitmapOptions}}.

: <dfn dict-member for=ImageDecoderInit>colorSpaceConversion</dfn>
:: Controls whether decoded outputs' color space is converted or ignored, as
defined by {{ImageBitmapOptions/colorSpaceConversion}} in
Expand Down

0 comments on commit 4f36291

Please sign in to comment.