bool ConvertToRGB(const Header &header, const int element, const void *input, void *output) { return ConvertToRGBInternal(header.ImageDescriptor(element), header.ComponentDataSize(element), header.Colorimetric(element), input, output, header.Width() * header.Height()); }
int QueryRGBBufferSize(const Header &header, const int element) { return QueryRGBBufferSizeInternal(header.ImageDescriptor(element), header.Width() * header.Height(), header.ComponentByteCount(element)); }