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
-
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.