1. 24 Apr, 2019 2 commits
  2. 23 Apr, 2019 1 commit
  3. 21 Apr, 2019 2 commits
  4. 20 Apr, 2019 1 commit
  5. 19 Apr, 2019 18 commits
  6. 17 Apr, 2019 9 commits
  7. 16 Apr, 2019 2 commits
  8. 15 Apr, 2019 2 commits
    • Jehan's avatar
      plug-ins: export linear WebP if and only if the work image was 8-bit... · b9458f8a
      Jehan authored
      ... linear itself AND if we export the profile.
      Implement similar logics to WebP export as I did to JPEG in my previous
      commit.
      b9458f8a
    • Jehan's avatar
      plug-ins: export linear JPEG if and only if the work image was 8-bit... · 5f4cf535
      Jehan authored
      ... linear itself AND if we export the profile.
      
      In most cases we want to save 8-bit image formats (here JPEG) as
      non-linear, even though the work image may have been linear itself (yet
      with higher bit depth). The reasons are shadow posterization on low bit
      depth, and the fact that JPEG compression was designed for perceptually
      uniform RGB and introduces shadow artifacts with linear RGB (see #1070,
      message by Elle Stone). The only exception is when the creator was
      working explicitly on 8-bit linear (not higher bit depth) AND if we
      export the profile (otherwise most loaders around assume sRGB). In such
      a case, let's consider the creator knows what one is doing and keep the
      exported image linear.
      
      Similar logics is already used in PNG exporter (though a bit of a
      variant since PNG supports 16-bit so it is instead: 8-bit linear without
      profile is promoted to 16-bit non-linear, and kept 8-bit linear with
      profile).
      5f4cf535
  9. 14 Apr, 2019 1 commit
    • Jehan's avatar
      Issue #3253: exporting to webp from 32-bit float linear image... · 7a4b313b
      Jehan authored
      ... produces incorrect result.
      Similar to previous fixes to JPEG and PNG exporters. Here WebP always
      export 8-bit per channel colors, so let's always keep it non-linear.
      Simply when the original data was linear, if we save the profile,
      convert it to sRGB before exporting.
      7a4b313b
  10. 13 Apr, 2019 2 commits