dcv.io.image

Module for image I/O.

Public Imports

dcv.core.image
public import dcv.core.image;

Members

Aliases

imgen_16
alias imgen_16 = pipe!(iota, map!(v => cast(ushort)uniform(0, ushort.max)), std.array.array)
Undocumented in source.
imgen_8
alias imgen_8 = pipe!(iota, map!(v => cast(ubyte)uniform(0, ubyte.max)), std.array.array)
Undocumented in source.

Functions

im_ubyte_16_mono
auto im_ubyte_16_mono()
Undocumented in source. Be warned that the author may not have intended to support it.
im_ubyte_16_rgb
auto im_ubyte_16_rgb()
Undocumented in source. Be warned that the author may not have intended to support it.
im_ubyte_16_rgba
auto im_ubyte_16_rgba()
Undocumented in source. Be warned that the author may not have intended to support it.
im_ubyte_8_mono
auto im_ubyte_8_mono()
Undocumented in source. Be warned that the author may not have intended to support it.
im_ubyte_8_rgb
auto im_ubyte_8_rgb()
Undocumented in source. Be warned that the author may not have intended to support it.
im_ubyte_8_rgba
auto im_ubyte_8_rgba()
Undocumented in source. Be warned that the author may not have intended to support it.
imread
Image imread(string path, ReadParams params)

Read image from the file system.

imwrite
bool imwrite(string path, size_t width, size_t height, ImageFormat format, BitDepth depth, ubyte[] data)

Write image to the given path on the filesystem.

imwrite
bool imwrite(Image image, string path)

Convenience wrapper for imwrite with Image.

imwrite
bool imwrite(Slice!(kind, packs, T*) slice, ImageFormat format, string path)

Convenience wrapper for imwrite with Slice type.

Structs

ReadParams
struct ReadParams

Image reading parameter package type.

Meta

Authors

Relja Ljubobratovic

License

$(LINK3 http://www.boost.org/LICENSE_1_0.txt, Boost Software License - Version 1.0).