dlangui.graphics.images

This module contains image loading functions.

Currently uses FreeImage.

Usage of libpng is not feasible under linux due to conflicts of library and binding versions.

Synopsis:

import dlangui.graphics.images;

Public Imports

dlangui.core.config
public import dlangui.core.config;
Undocumented in source.

Members

Classes

ImageDecodingException
class ImageDecodingException
Undocumented in source.

Functions

importImage
ColorDrawBuf importImage(SuperImage image)
Undocumented in source. Be warned that the author may not have intended to support it.
importImage
ColorDrawBuf importImage(SuperImage image)
Undocumented in source. Be warned that the author may not have intended to support it.
loadImage
ColorDrawBuf loadImage(string filename)

load and decode image from file to ColorDrawBuf, returns null if loading or decoding is failed

loadImage
ColorDrawBuf loadImage(ubyte[] data, string filename)

load and decode image from input stream to ColorDrawBuf, returns null if loading or decoding is failed

Meta

License

Boost License 1.0

Authors

Vadim Lopatin, coolreader.org@gmail.com