WebIDLpedia

ImageDecoderInit dictionary

Definition

WebCodecs defines ImageDecoderInit


dictionary ImageDecoderInit {
  required DOMString type;
  required ImageBufferSource data;
  ColorSpaceConversion colorSpaceConversion = "default";
  [EnforceRange] unsigned long desiredWidth;
  [EnforceRange] unsigned long desiredHeight;
  boolean preferAnimation;
  sequence<ArrayBuffer> transfer = [];
};

Referring IDL interfaces/dictionaries