The OpenD Programming Language

gamut.plugin

General functions.

Members

Aliases

DetectImageFormatProc
alias DetectImageFormatProc = bool function(IOStream* io, IOHandle handle)

Function that detects this format. I/O rewinding: this function must preserve the I/O cursor by contract.

LoadImageProc
alias LoadImageProc = void function(ref Image image, IOStream* io, IOHandle handle, int page, int flags, void* data)

Function that loads a image from this format. I/O rewinding: this function must be given an I/O cursor at the start of the the format. It doesn't have to preserve that I/O cursor.

SaveImageProc
alias SaveImageProc = bool function(ref const(Image) image, IOStream* io, IOHandle handle, int page, int flags, void* data)

Saves an image from this format.

Structs

ImageFormatPlugin
struct ImageFormatPlugin
Undocumented in source.

Meta