Closed familywww closed 5 months ago
The reason for the error is due to a version conflict in libjpge. I couldn't find the duplicate libjpge. so.9 and couldn't eliminate this error. This issue was resolved by modifying the conversion object type to “png” in ConvertController.php
error log: PHP Fatal error: Uncaught ImagickException: Wrong JPEG library version: library is 90, caller expects 80
Hey, sorry for my slow response.
That's interesting, but it sounds more like a setup error to me, as my app doesn't manage how ImageMagick is installed.
I checked on my docker container where I installed PHP Imagick using docker-php-ext-install
and libjpeg was located in /lib/x86_64-linux-gnu
.
But good that you found a workaround for your specific use case.
Be aware that PNG is a lossless file format, so the file size will most likely drastically increase.
Can we close this issue then?
Closing this due to inactivity
PHP8.1 nextcloud: 27.1.1
log: [index] error: Exception: Could not save the new converted image, because the content is empty. Something went wrong with the conversion before! at <>