It looks like call to heic2any in Chrome for android never finishes execution. Same on iOS.
const jpegBlob = await heic2any({
// required: the HEIF blob file
blob: file,
// (optional) MIME type of the target file
// it can be "image/jpeg", "image/png" or "image/gif"
// defaults to "image/png"
toType: 'image/jpeg',
// conversion quality
// a number ranging from 0 to 1
quality: 0.5,
});
Did anyone manage to make it work on mobile browsers?
It looks like call to heic2any in Chrome for android never finishes execution. Same on iOS.
const jpegBlob = await heic2any({ // required: the HEIF blob file blob: file, // (optional) MIME type of the target file // it can be "image/jpeg", "image/png" or "image/gif" // defaults to "image/png" toType: 'image/jpeg', // conversion quality // a number ranging from 0 to 1 quality: 0.5, });
Did anyone manage to make it work on mobile browsers?