@syncfusion/ej2-pdf
Version:
Feature-rich JavaScript PDF library with built-in support for loading and manipulating PDF document.
33 lines (32 loc) • 917 B
TypeScript
import { _PdfBaseStream } from '../base-stream';
import { _PdfDecodeStream } from '../decode-stream';
/**
* Provides a JPEG stream wrapper that reads JPEG bytes from the underlying base stream.
*
* @private
*/
export declare class _PdfJpegStream extends _PdfDecodeStream {
stream: _PdfBaseStream;
maybeLength: number;
params: any;
/**
* Byte offset at which the JPEG stream data begins.
*
* @private
*/
_jpegStreamStart: number;
/**
* Indicates whether the stream requires reprocessing due to parameters.
*
* @private
*/
_needsReprocessing: boolean;
buffer: any;
bytes: Uint8Array;
drawWidth: number;
drawHeight: number;
constructor(stream: _PdfBaseStream, maybeLength: number, params: any);
readBlock(): void;
decodeImage(bytes?: Uint8Array): Uint8ClampedArray;
skipUselessBytes(data: Uint8Array): Uint8Array;
}