Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GifWriter

This class writes an indexed color image data to an output stream.

  • An indexed color image data is represented with an object which has IIndexedColorImage interface. The IndexedColorImage implements this interface.
  • An output stream is represented with an object which has IOutputStream interface.
class GifWriter {
constructor(outputStream: IOutputStream);
private __calcSizeOfColorTable;
private __os;
private __writeBlockTerminator;
private __writeColorTable;
private __writeDataSubBlocks;
private __writeGraphicControlExtension;
private __writeImageData;
private __writeImageDescriptor;
private __writeInt2;
private __writeLogicalScreenDescriptor;
 
writeHeader(): void;
writeLogicalScreenInfo(imageSize: IImageSize, options?: IGifLogicalScreenInfoOptions): void;
writeLoopControlInfo(repeatCount: number): void;
writeTableBasedImage(indexedColorImage: IIndexedColorImage, options?: IGifImageOptions): void;
writeTableBasedImageWithGraphicControl(indexedColorImage: IIndexedColorImage, gcOpts?: IGifExtendedImageOptions): void;
writeTrailer(): void;
}

§Constructors

§
new GifWriter(outputStream: IOutputStream)
[src]

§Properties

§
__calcSizeOfColorTable
[src]
§
__writeBlockTerminator
[src]
§
__writeColorTable
[src]
§
__writeDataSubBlocks
[src]
§
__writeGraphicControlExtension
[src]
§
__writeImageData
[src]
§
__writeImageDescriptor
[src]
§
__writeInt2
[src]
§
__writeLogicalScreenDescriptor
[src]

§Methods

§
writeHeader(): void
[src]
§
writeLogicalScreenInfo(imageSize: IImageSize, options?: IGifLogicalScreenInfoOptions): void
[src]
§
writeLoopControlInfo(repeatCount: number): void
[src]
§
writeTableBasedImage(indexedColorImage: IIndexedColorImage, options?: IGifImageOptions): void
[src]
§
writeTableBasedImageWithGraphicControl(indexedColorImage: IIndexedColorImage, gcOpts?: IGifExtendedImageOptions): void
[src]
§
writeTrailer(): void
[src]