#HEIC to JPG
1 messages ยท Page 1 of 1 (latest)
i got something like this
the binary is in the package is not executable
try solution from here https://github.com/MaestroError/php-heic-to-jpg/issues/42
or find another package
or convert from heic on the API server, not from app
I cannot manage this plugin to work on mobile and when i try ti upload image to API and process there i got 0 bytes stream from
Storage::disk('public')->readStream($filename)
this works fine for other image extensions
You dont want to do this with PHP on the device, send it to your server and let it handle the processing, or create a plugin when v3 comes out and let iOS/Android do the processing.
Not sure it should be in the public disk, depending on your flow (https://nativephp.com/docs/mobile/2/the-basics/assets#public-files)