How to get jpg image from heic format in

I collect photos from the gallery and upload to the server, but from several days I noticed that some photos have an extension and browsers cannot display these images.

1. Is there a way to extract photos from downloaded heic?
2. How to respond to native, can I get jpeg from this format?

+7
react-native react-native-ios
source share
1 answer

You can convert it on the server side with this amazing lib Tifig .

https://github.com/monostream/tifig

You can also use an API, for example https://cloudconvert.com/formats/image/heic to convert on the server side or on the mobile (client side).

+8
source share

All Articles