- dataLoad
DataRange dataLoad(File file)
DataRange dataLoad(string path)
Converts any sort of possible input/location into a forward ubyte range.
Useful for providing simple overloading of load functions for a variety of inputs.
- dataSave
OutRange dataSave(File file)
OutRange dataSave(string path)
Converts any sort of possible output into a output range.
Useful for providing simple overloading of save functions for a variety of outputs.
- maskedLoad
void maskedLoad(real[] target, R range, T[] masks, size_t bpp)
Undocumented in source. Be warned that the author may not have intended to support it.
- maskedRasterLoad
auto maskedRasterLoad(R data, T[] mask, size_t bpp, ptrdiff_t _width, ptrdiff_t _height, ColorSpace* _colorSpace, size_t padding)
- maskedRasterSave
void maskedRasterSave(R image, O output, T[] mask, size_t bpp, ptrdiff_t width, ptrdiff_t height, size_t padding)
Undocumented in source. Be warned that the author may not have intended to support it.
- maskedSave
void maskedSave(real[] data, ubyte[] target, T[] masks, size_t bpp)
Undocumented in source. Be warned that the author may not have intended to support it.
- paddingFor
auto paddingFor(size_t width, size_t bpp, size_t padding)
Calculate the padding needed when padding a bpp with a width to a multiple of bytes
Provides common data manipulation functions.