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

Functions

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