Image

Represented an encoded image (JPEG or PNG).

Constructors

this
this(const(char)[] relativePath)

Undocumented in source.

this
this(immutable(ubyte)[] data)

Undocumented in source.

Members

Functions

MIME
string MIME()

Undocumented in source. Be warned that the author may not have intended to support it.

encodedData
immutable(ubyte)[] encodedData()

Undocumented in source. Be warned that the author may not have intended to support it.

height
int height()

Height in pixels.

pixelsPerMeterX
float pixelsPerMeterX()

Undocumented in source. Be warned that the author may not have intended to support it.

pixelsPerMeterY
float pixelsPerMeterY()

Undocumented in source. Be warned that the author may not have intended to support it.

printHeight
float printHeight()

Default height when printed, in mm.

printWidth
float printWidth()

Default width when printed, in mm.

toDataURI
string toDataURI()

Undocumented in source. Be warned that the author may not have intended to support it.

width
int width()

Width in pixels.

Meta