Comments (2)
Hi sorry for the long time to respond, I hadn't had a Nextcloud dev instance running on my new PC so i couldn't elaborate what went wrong here.
The conversion crashed when the ImageConverter tried to save the new file.
I'm not exactly sure, but i think the reason for that is, that the PHP function file_put_contents()
which is wrapped by OCP\Files\Fille->putContent()
expects 2 arguments and only received one as it can be seen here:
ArgumentCountError: Too few arguments to function OC\Files\Storage\Wrapper\Wrapper::file_put_contents(), 1 passed in /var/www/nextcloud/lib/private/Files/View.php on line 1161 and exactly 2 expected
The first argument is the filepath, which I think was given, the second is the actual content of the file (so the converted image blob). This one seemed to be missing.
So to conclude I think the image couldn't be saved because it simply was not converted in the first place. This is also supported by the fact that your Nextcloud instance does not create HEIC -> JPEG previews at all.
Please execute php -r 'phpinfo();' | grep HEIC
on your server as described in linked article from the Readme.
If it's not printing anything, either your ImageMagick installation is not complied with HEIC support or something (which you say isn't the case) or PHP-Imagick is not installed (double check this with php -m).
Best wishes
from imageconverter.
Close this because it seems stale
from imageconverter.
Related Issues (11)
- Error when trying to convert HEIC to JPG HOT 4
- not (marked as) compatible with NC26 HOT 1
- Auto Convert HOT 1
- Massive log spam HOT 3
- App non available on nextcloud 22 HOT 2
- Cant find autoload.php HOT 9
- Server error: 503 Service Unavailable HOT 2
- NC 24 Support HOT 2
- Nextcloud 23.03 - cannot open images in HEIC Format HOT 6
- Do not show Option if file is not HEIF / HEIC HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imageconverter.