4 ms·
Great read, and fantastic debugging! Correct me if I'm wrong, but I think this bug would have been caught if a CMYK JPEG would've been tested, assuming that an
by dvt 5y ago
Great read, and fantastic debugging! Correct me if I'm wrong, but I think this bug would have been caught if a CMYK JPEG would've been tested, assuming that an extra component would break the accidental well-orderedness of the stream.
- trashburger 5y agoI'm pretty sure Serenity does not support CMYK colors right now, if I understand this snippet correctly :^) if (context.component_count != 1 && context.component_count != 3) { dbgln_if(JPG_DEBUG, "{}: Unsupported number of components in SOF: {}!", stream.offset(), context.component_count); return false; }
- Flex247A 5y ago:^)