I'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;
}