Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-826

Increase performance of ColorSpaceCMYK.toRGB, patch attached

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.3.1
    • Component/s: PDModel
    • Labels:
      None

      Description

      The code of ColorSpaceCMYK.toRGB() had too many array lookups resulting in bad performance for large number of lookups.
      The attached patch resolves this issue and should increase readability.

        Activity

        Hide
        lehmi Andreas Lehmkühler added a comment -

        Thanks! I added the patch in revision 996331

        Show
        lehmi Andreas Lehmkühler added a comment - Thanks! I added the patch in revision 996331
        Hide
        tboehme Timo Boehme added a comment -

        patch to resolve isssue

        Show
        tboehme Timo Boehme added a comment - patch to resolve isssue

          People

          • Assignee:
            Unassigned
            Reporter:
            tboehme Timo Boehme
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development