Closed routix closed 11 years ago
Documentation states that 'gray' format is supported but image.cc defines rgb and rgba only (line: 194):
if (strcmp("rgba", *format) == 0) { depth = 32; } else if (strcmp("rgb", *format) == 0) { depth = 24; } else { std::stringstream msg; msg << "invalid buffer format '" << *format << "'"; return THROW(Error, msg.str().c_str()); }
True and thanks for the fix :+1:
Documentation states that 'gray' format is supported but image.cc defines rgb and rgba only (line: 194):