declare namespace openfl.display { /** * The JPEGEncoderOptions class defines a compression algorithm for the * `openfl.display.BitmapData.encode()` method. * */ export class JPEGEncoderOptions { /** * Creates a JPEGEncoderOptions object with the specified setting. * * @param quality The initial quality value. * */ constructor(quality?: number); /** * A value between 1 and 100, where 1 means the lowest quality and 100 means the * highest quality. The higher the value, the larger the size of the output of the * compression, and the smaller the compression ratio. * */ quality: number; } } export default openfl.display.JPEGEncoderOptions;