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

ImageMagick PDF thumbnail should always create sRGB JPEG files

    Details

    • Attachments:
      4
    • Comments:
      22
    • Documentation Status:
      Needed

      Description

      If a PDF is using the CMYK color space for example, DSpace 5.x's ImageMagick plugin will happily create a JPEG thumbnail in the CMYK color space. Modern web browsers expect images to be in the sRGB color space, and images in other color spaces are often distorted (see attached thumbnails, the sRGB one is closer to the colors used in the PDF). As an added bonus, the sRGB images have a slightly smaller file size.

      The following option should be added to the ImageMagick plugin to force sRGB: -colorspace sRGB

      More info about sRGB for the web:

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aorth Alan Orth
                Reviewer:
                Terry Brady
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: