// 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 | |
}; |