imageformats

Undocumented in source.

Modules

bmp
module imageformats.bmp
Undocumented in source.
jpeg
module imageformats.jpeg
Undocumented in source.
png
module imageformats.png
Undocumented in source.
tga
module imageformats.tga
Undocumented in source.

Public Imports

imageformats.png
public import imageformats.png;
Undocumented in source.
imageformats.tga
public import imageformats.tga;
Undocumented in source.
imageformats.bmp
public import imageformats.bmp;
Undocumented in source.
imageformats.jpeg
public import imageformats.jpeg;
Undocumented in source.

Members

Aliases

LineConv
alias LineConv(T) = void function(in T[] src, T[] tgt)
Undocumented in source.

Classes

FileReader
class FileReader
Undocumented in source.
FileWriter
class FileWriter
Undocumented in source.
ImageIOException
class ImageIOException
MemReader
class MemReader
Undocumented in source.
MemWriter
class MemWriter
Undocumented in source.

Enums

ColFmt
enum ColFmt

Color format

_ColFmt
enum _ColFmt
Undocumented in source.

Functions

get_converter
LineConv!T get_converter(long src_chans, long tgt_chans)
Undocumented in source. Be warned that the author may not have intended to support it.
read_image
IFImage read_image(char[] file, long req_chans)

Reads an image from file.

read_image_from_mem
IFImage read_image_from_mem(ubyte[] source, long req_chans)

Reads an image in memory.

read_image_info
void read_image_info(char[] file, int w, int h, int chans)

Returns basic info about an image. If number of channels is unknown chans is set to zero.

write_image
void write_image(char[] file, long w, long h, ubyte[] data, long req_chans)

Writes an image to file.

Interfaces

Reader
interface Reader
Undocumented in source.
Writer
interface Writer
Undocumented in source.

Structs

IFImage
struct IFImage

Image

IFImage16
struct IFImage16

Image

Meta