Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3664

Color Profile Detection Method in ImageMagick filter is prohibitively slow

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.7, 5.8, 5.9, 6.2, 6.3
    • Fix Version/s: 6.4, 7.0, 5.10
    • Component/s: filter-media
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      Note: the call to this constructor appears to trigger inefficient processing in multipage PDFs: http://im4java.sourceforge.net/api/org/im4java/core/Info.html#Info(java.lang.String, boolean)

      See the discussion in the related ticket.

      This constructor triggers a process that appears to extract information about every page within a PDF, but only the first page is needed for thumbnail generation.

      This class does not have a constructor that takes a page number.  

      I believe that a different mechanism needs to be used to detect the cmyk_profile.  

      Until this is changed, this media filter will be prohibitively slow when the color profile is enabled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                terrywbrady Terry Brady
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: