• Jon Nordby's avatar
    operations: Support CMYK in jpg-load · a7a2f129
    Jon Nordby authored
    Before would fail with "attempted to load unsupported JPEG (components=4)"
    Also changes the format selection logic to be based on the out_color_space
    in JPEG, instead of deducing it from the number of channels.
    
    Note: uses the 'naive' CMYK support in BABL, which looks to
    match what other viewer programs like Firefox and Eye of Gnome does.
    a7a2f129
jpg-load.c 7.53 KB