diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-11-13 21:35:22 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-11-13 22:00:45 +0100 |
commit | 475dd6035435e326b0ffab6e74f961757896b97d (patch) | |
tree | 83a1a967e3a0172e5c7575df3d01cac4629e7e09 /lib/composer | |
parent | b5241d52204e5d88e2fba388041e02e0bd56aea7 (diff) | |
download | nextcloud-server-475dd6035435e326b0ffab6e74f961757896b97d.tar.gz nextcloud-server-475dd6035435e326b0ffab6e74f961757896b97d.zip |
fix: use png as preview right away
The initial office preview implementation converted an office document with LibreOffice to PDF, used ImageMagick to extract the first page as JPEG, and passed it OC_Image.
https://github.com/nextcloud/server/pull/10198 changed the implementation to use PNG rather than PDF. OC_Image can use a PNG as a preview right away, so the ImageMagick step is unnecessary.
The registration code was updated to not ask ImageMagick if PDF is supported, as PDFs are no longer used to create office document previews.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/composer')
0 files changed, 0 insertions, 0 deletions