go-images/jpeg2000

This product includes software developed by AJ Roetker
(https://github.com/ajroetker/go-jpeg2000), licensed under the Apache
License, Version 2.0.

This is a fork. As required by section 4(b) of that licence, the changes
carried here are stated:

  2026-09-21  A four-component picture whose own JP2 header declares the
              enumerated colour space CMYK (EnumCS 12, ITU-T T.800 Table I.1)
              now decodes to an *image.CMYK rather than to an *image.RGBA
              built from its first three components. Reading those four planes
              as red, green and blue discarded the black plate; on the
              reference picture that was 255 levels from poppler on every
              pixel, and it is now at most 2 over 2 440 044 samples. The
              multi-component transform, where a codestream signals one, is
              undone across the first three planes exactly as before; the
              fourth is outside it and is kept. Decode and
              DecodeWithUpsampling take the same decision, so the two entry
              points cannot disagree about what a file is.

              Files: color.go (convertToCMYK, convertToCMYKFloat, sameShape),
              decoder.go (isCMYK, picture, pictureUpsampled, toCMYK),
              cmyk_test.go, go.mod (module path).
