...

Constructor

new(o:Output)

Methods

write(data:Data):Void

Write entire Data at once.

Parameters:

data

Input gif file data

writeComment(text:String):Void

writeEOF():Void

Writes EndOfFile block.

writeFrame(frame:Frame):Void

writeHeader(version:Version):Void

Writes header of Gif file. Must be first.

Parameters:

null

version

@:value({ globalColorTable : null })writeLogicalScreenDescriptor(lsd:LogicalScreenDescriptor, ?globalColorTable:Bytes):Void

Writes Logical Screen Descriptor block. Must go right after header.

Parameters:

lsd

Logical Screen Descriptor object.

globalColorTable

Global color table. Required only if LSD contains hasGlobalColorTable flag. Color table must be a RGB-aligned Bytes with 3 bytes per color.

writeUnknownExtension(id:Int, bytes:Bytes):Void