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

ImageMagick not used in preview generation

Details

    • Bug
    • Status: Closed
    • Resolution: Won't Fix
    • 6.2.X EE, 7.0.0 DXP GA1, 7.0.2 CE GA3, 7.0.0 DXP FP12, 7.0.X EE, Master
    • None
    • Documents & Media
    • None
    • 3

    Description

      Liferay documentation tells us that ImageMagick is needed (or at least recommended instead of pdfbox) for the creation of preview images. e.g.:
      "You need to install ImageMagick for whatever operating system you are in, which also includes the installation of GhostScript."

      But this is actually not true. ImageMagick is actually not used at all for pdf preview generation. It is also NOT used for the generation of preview images.

      ImageToolImpl almost exclusively uses Graphics2D, most notably to scale images. I noticed this because the quality of the generated images is quite bad and not on par with ImageMagick.

      Attachments

        Activity

          People

            sergio.gonzalez Sergio Gonzalez (Inactive)
            crabel Christoph Rabel
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 27 weeks, 2 days ago

              Packages

                Version Package