1. 09 Mar, 2018 5 commits
    • Jehan's avatar
      Bug 794152 - JPEG 2000 Code Stream .j2c support. · 3d554529
      Jehan authored
      Current OpenJPEG code only supported the base JP2 container. It now
      supports also the JPEG 2000 codestream (which is usually contained
      inside other formats, like the JP2 container format, but can also
      sometimes be on its own).
      The current magics and extension strings were also mixing all kind of
      formats. This is now cleaned up a bit.
    • Jehan's avatar
      plug-ins: deduct color space from profile if not specified otherwise. · 00e828a3
      Jehan authored
      As explained in the previous commit, the color space is not always
      properly declared, in particular with J2K files. If a profile is present
      in such a case, try to deduct the color space from this information.
    • Jehan's avatar
      plug-ins: assume RGB/RGBA for JPEG2000 without declared color space. · 6f5c20ee
      Jehan authored
      It seems that the color space is not necessarily declared for a JPEG2000
      image. From tests, it looks like it especially happens with JPEG2000
      codestream (.j2c or .j2k). This variant is apparently mostly designed to
      be embedded (from what I read), which may explain why the color space is
      not always set (I assume the embedding format would have the color space
      information). Mostly a guess.
    • Jehan's avatar
      configure: make clearer the test for native GEGL executable. · 65ba879c
      Jehan authored
      If running for instance in a cross-compilation, I need to make clearer
      the fact we are looking for a native GEGL and also that we are looking
      for the executable (used during the build), not the library. This is a
      different test as the one for the library with PKG_CHECK_MODULES (which
      looks for the target platform's library).
    • Jehan's avatar
  2. 08 Mar, 2018 1 commit
  3. 07 Mar, 2018 12 commits
  4. 06 Mar, 2018 2 commits
    • Ell's avatar
      app, libgimp: don't close parent pipes in libgimp; use gimp_spawn_set_cloexec() · 1b1fba19
      Ell authored
      In gimp_plug_in_open(), use gimp_spawn_set_cloexec() to prevent the
      parent's end of the read/write pipes from being inherited by the
      spawned plug-in, instead of passing the corresponding file
      descriptors to the plug-in as command-line arguments, and having
      gimp_main() close them.
      Adding new command-line arguments to plug-ins is problematic, since
      their ability to handle them depends on their protocol version,
      which is only communicated after the plug-in is spawned.
      Regardless, this is much simpler.
    • Ell's avatar
      app: add gimp_spawn_set_cloexec() · cdb541f8
      Ell authored
      ... which prevents child processes from inheriting a given pipe,
      under *nix and Windows.
  5. 05 Mar, 2018 10 commits
  6. 04 Mar, 2018 6 commits
    • Jehan's avatar
      plug-ins: robuster tests for image types and minor syntax fixes. · 73fbb166
      Jehan authored
      Rather than just assuming all non-gray images are RGB, do a bit more
      robust check and reject unknown formats. Indeed even though I see we
      took care of YUV, e-YCC and CMYK images above (and normally either
      converted them to RGB or already exited with an error), I can see that
      the OpenJPEG library could still return OPJ_CLRSPC_UNKNOWN or
      OPJ_CLRSPC_UNSPECIFIED. Let's be thorough and not assume we got a SRGB
      Also add the alpha-variant tests inside their parent image type
      respective test. This should not change anything by any logics, but
      let's not leave anything for chance to strike us.
      Finally minor coding style fixes:
      - Add a space before "if|for" and parenthese.
      - Remove some spaces after parentheses.
      - Get rid of 2 trailing whitespaces.
      - Align function call parameters, declarations, assignments…
    • Darshan kadu's avatar
      Bug 792141 - Replace jasper with openjpeg. · 53a7c6c3
      Darshan kadu authored and Jehan's avatar Jehan committed
      Made plug-in support the RGB and grayscale with alpha.
      Comment by Jehan: this makes the original branch work finally usable on
      some JPEG 2000 images. Support of the format is not complete yet though
      but at least the port to OpenJPEG is now in usable test.
    • Mukund Sivaraman's avatar
      file-jp2-load: Switch from Jasper to OpenJPEG library · 58a0a651
      Mukund Sivaraman authored and Jehan's avatar Jehan committed
    • Piotr Drąg's avatar
      Update Polish translation · d7e7ab48
      Piotr Drąg authored
    • Michael Natterer's avatar
      app: default to GIMP_COLOR_SELECTOR_RED in GimpColorEditor · 0c644161
      Michael Natterer authored
      instead of HSV hue, HSV is not supposed to be the default model any
      longer. Bigger color selector cleanup to follow...
    • Jordi Mas's avatar
      Update Catalan translation · 638ec98a
      Jordi Mas authored
  7. 03 Mar, 2018 4 commits