1. 17 Jan, 2021 4 commits
    • Jacob Boerema's avatar
      plug-ins: fix #6279 Error loading PSD file: Unexpected end of file. · 83ab86eb
      Jacob Boerema authored
      We were not handling all possible record sizes for mask info and
      in case it was an unknown size we set everything to 0 instead
      of reading the parts we do recognize.
      
      Let's make it more flexible by reading the parts we do know
      about and skip the remaining data if any.
      
      Also added a few more g_debug statements to make it
      easier to check some values when needed.
      83ab86eb
    • Jehan's avatar
      plug-ins: fix crash at end of JPEG export. · 823ae50c
      Jehan authored
      Not sure why we didn't see the crash earlier and it suddenly shows up
      now. Anyway we must delete the exported image **after** calling
      gimp_procedure_config_end_export() on it, obviously.
      823ae50c
    • Jehan's avatar
      plug-ins: fix plugin-defs for file-heif. · 07a3734d
      Jehan authored
      Commit 01e1587e had directly edited the Makefile.am, which was wrong.
      This file is generated by plugin-defs.pl. Add the proper dependencies
      for file-heif and regenerate the Makefile.am.
      07a3734d
    • sicklylife's avatar
      Update Japanese translation · be457997
      sicklylife authored
      be457997
  2. 16 Jan, 2021 3 commits
    • Jehan's avatar
      plug-ins: export with explicit PNG's sRGB chunk when no profile written. · f77e261c
      Jehan authored
      When a profile is set, we should not set the sRGB chunk, because it
      would be a contradiction. But when we don't set the profile, then our
      code explicitly saves as sRGB. So let's add the sRGB chunk.
      
      Also when we do so, let's also set the relevant gAMA and cHRM chunks
      corresponding to sRGB as recommended by the PNG spec:
      
      > An application that writes the sRGB chunk should also write a gAMA
      > chunk (and perhaps a cHRM chunk) for compatibility with applications
      > that do not use the sRGB chunk. In this situation, only the following
      > values may be used: […]
      
      This is why I use png_set_sRGB_gAMA_and_cHRM() and not just
      png_set_sRGB().
      See also discussions in #5363.
      f77e261c
    • sicklylife's avatar
      Update Japanese translation · 26903fde
      sicklylife authored
      26903fde
    • sicklylife's avatar
      Update Japanese translation · f78b131c
      sicklylife authored
      f78b131c
  3. 15 Jan, 2021 9 commits
  4. 14 Jan, 2021 1 commit
    • Jacob Boerema's avatar
      plug-ins: fix #5081 Opening TIFF with YCbCr format displays incorrect warning. · f489976b
      Jacob Boerema authored
      When testing for the presence of extra channels we were not taking into
      account all values of TIFFTAG_PHOTOMETRIC causing incorrect messages
      that we had a non conformant TIFF without ExtraSamples field.
      
      Since the same test is used twice I separated the code into a new function
      and also added another related function to have similar code grouped
      together for easier maintenance.
      f489976b
  5. 11 Jan, 2021 7 commits
  6. 10 Jan, 2021 5 commits
  7. 09 Jan, 2021 1 commit
  8. 08 Jan, 2021 5 commits
  9. 07 Jan, 2021 5 commits