/** * GIF options. **/ export declare type GifOptions = { /** * Cumulative drawing mode - do not clear previous frame appearance. **/ cumulative?: boolean; /** * Maximum image buffer length to load. * The image buffer length is calculated as follows: * `NumFrames * image.height * image.width * 4`. * If the GIF image exceeds this value, only the first frame will be loaded. * The default and maximum value is 2145386496. **/ maxBufferLength?: number; /** * Play/stop animation on mouse over/out. **/ playOnHover?: boolean; /** * Play/stop animation on mouse click. **/ playOnClick?: boolean; /** * Automatically play video when a GIF image contains more than one frame. **/ autoPlay?: boolean; /** * Animation speed. * The delay between frames will be divided by the value specified in the "speed" setting. * The lower the value, the slower the animation will run. * The higher the value, the faster the animation runs. * @default 1 * @example * ```javascript * // Slowing down the animation by two times: * var viewer = new GcImageViewer("#root", { * gifOptions: { speed: 0.5 } * }); * ``` * @example * ```javascript * // Animation acceleration by two times:: * var viewer = new GcImageViewer("#root", { * gifOptions: { speed: 2 } * }); * ``` **/ speed?: number; };