Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1261

[PATCH] Add support for rgb-icc and proprietary cmyk color functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5
    • None
    • renderer/pdf
    • None
    • Operating System: All
      Platform: All
    • 40729

    Description

      [PATCH]
      A patch is attached that adds support for the standard (color) rgb-icc function
      and a proprietary cmyk function.

      From the users point of view.

      The rgb-icc function is accepted as input for color properties of fo
      elements and the generated PDF will include and refer to those color
      profiles. Other renderers will use profile based converted sRGB values.
      The ICC profiles are loaded using the src attribute from the color-profile
      element and resolved using the FOP URI resolver.

      A cmyk function accepting 4 arguments (values ranging from 0%-100% or 0.0-1.0)
      is also available. The PDF renderer will generate DeviceCMYK colors based on the
      provided values, the other renderers will use a "standard" cmyk-rgb conversion
      and generated rgb colors.

      Attachments

        1. color-sandbox.fo
          2 kB
          Jeremias Maerki
        2. fop-icc-cmyk-patch-2.diff
          79 kB
          Peter Coppens
        3. fop-icc-cmyk-patch4.diff
          69 kB
          Peter Coppens

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            pgp44 Peter Coppens
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: