Skip to content
  • Mihail Zenkov's avatar
    Bug 769976 - JPEG export ignores quality setting and subsampling fix. · 07eb13c7
    Mihail Zenkov authored and Jehan's avatar Jehan committed
    Set use_orig_quality when both the quality and the subsampling are the
    same as in the originally-imported jpeg.
    
    Also improve subsampling initial selection: use the original subsampling
    unless the default one is the best or the original one is the worst.
    The current code was wrong and would often use the default subsampling
    even when worse than the original one.
    07eb13c7