PDFBox
  1. PDFBox
  2. PDFBOX-826

Increase performance of ColorSpaceCMYK.toRGB, patch attached

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial 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
        Andreas Lehmkühler added a comment -

        Thanks! I added the patch in revision 996331

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

        patch to resolve isssue

        Show
        Timo Boehme added a comment - patch to resolve isssue

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development