1. 21 Apr, 2019 2 commits
  2. 20 Apr, 2019 2 commits
  3. 19 Apr, 2019 16 commits
  4. 18 Apr, 2019 1 commit
  5. 17 Apr, 2019 8 commits
  6. 16 Apr, 2019 2 commits
  7. 15 Apr, 2019 3 commits
    • Jehan's avatar
      plug-ins: export linear WebP if and only if the work image was 8-bit... · d1d00225
      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.
      
      (cherry picked from commit b9458f8a)
      d1d00225
    • Jehan's avatar
      plug-ins: export linear JPEG if and only if the work image was 8-bit... · ec132fa3
      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).
      
      (cherry picked from commit 5f4cf535)
      ec132fa3
    • Jehan's avatar
      Issue #3253: exporting to webp from 32-bit float linear image... · bfe24a3b
      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.
      
      (cherry picked from commit 7a4b313b)
      bfe24a3b
  8. 13 Apr, 2019 1 commit
  9. 12 Apr, 2019 5 commits