blob: 338adc7bb92f50ab7457de6a4afb4358fc3626a8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://html.spec.whatwg.org/multipage/scripting.html#the-offscreencanvas-interface
dictionary ImageEncodeOptions {
DOMString type = "image/png";
unrestricted double quality = 1.0; // Defaults to 1.0 if value is outside 0:1 range
};
|