Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-83775

After enabling Ghostscript to create a preview, blank part will be added on the top part of the image.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.X
    • Fix Version/s: Master
    • Component/s: DM
    • Labels:
    • Fix Priority:
      3

      Description

      Description
      When using ImageMagick and Ghostscript to create a preview, blank part will be added on the top part and bottom part of the image.

      Steps to reproduce

      1. Setup DXP and install DE-54
      2. Start Liferay and login as test@liferay.com
      3. Navigate to Cotrol Panel > Server Administration > Extarnal Service
      4. Set to enable GhostScript
      5. Navigate to Liferay DXP > Content > Document and Media
      6. Add the attached "sample.pdf" as a basic document and show the preview

      Actual result
      Blank part will be added on the preview.
      (please refer attached "IM&GS preview.png")

      Expected result
      An image will be created without additional blank parts.

      Reproduced in
      DE-54
      7.0.x GIT HASH: f72ef8f5790e2732106903517cf71a0991dc635a

      Not reproduced in
      master GIT HASH: 1f3b51f4c3412a2b14f6956e0416ce64db43dec6

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arthur.chen Arthur Chen
                Reporter:
                arthur.chen Arthur Chen
                Participants of an Issue:
                Recent user:
                Arthur Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 12 weeks, 6 days ago

                  Packages

                  Version Package
                  Master