Page 1 of 1

Converted JPG -> HEIC not compatible in new Android devices

Posted: Sun Sep 28, 2025 1:17 pm
by LFM8787
Hi :D this is my first post in the forum, I tried to search if someone else was having the same issue and I couldn't so I'm creating this topic.

I had a lot of pictures and videos like everyone here, (20 years or more), occupying a lot of space, so I've been using XnConvert to convert them to HEIC, all of them using the same preference (40% quality, keep metadata).

Everything was working perfect in my old Samsung Galaxy A50, a very old phone, all the pictures (in the SD) were shown correctly (~ 10.500 pictures), I made an online backup of all of them using Google Photos, now I have all of them (no quality loss, original files) in Google Photos...

Then one day I switched to a new Xiaomi 14T phone with Android 15 (about to be upgraded to Android 16 this quarter) and now a lot of pictures (copied or restored) are not being shown, the message is something like "Unsupported format or corrupt file", of course it's not the second one, the same thing happens from the same microSD card that's working, so it looks like the Xiaomi/Android codec doesn't support this level of compression or something else...

The problem is that it doesn't happen with all of them, around 60% of pictures are beign shown (pictures taken with at least 5/6 different phones and even Cannon reflex cameras)...

Is there something I could do? Most of them were compressed using latest XnConvert version (1&half year ago, and the same happens with the latest version)...

Is there any safe value for compression wide compatible with shitty phones?

I uploaded a sample picture here: https://www.sendspace.com/file/dt9d5o

Thank you guys :D

Re: Converted JPG -> HEIC not compatible in new Android devices

Posted: Mon Sep 29, 2025 6:39 am
by xnview
LFM8787 wrote: Sun Sep 28, 2025 1:17 pm I uploaded a sample picture here: https://www.sendspace.com/file/dt9d5o
Strange, i've tried on my samsung s20 (android 13), the sample file is shown correctly. I've tried too on Android 15 emulator, and no problem...

Re: Converted JPG -> HEIC not compatible in new Android devices

Posted: Mon Sep 29, 2025 4:26 pm
by LFM8787
I tried with the XnConvert app and the picture is not shown neither, I downloaded a Codec Info app and this is the heif decoder used in my phone:

Image/vnd.android.heic

Codec details: c2.mtk.heif.decoder

Hardware acceleration: true
Software-only: false
Low latency decoding: false
Codec provider: Device vendor / OEM
Max supported instances: 15
Max resolution: 16383x16383
Max bitrate: 64 Kbps
Frame rate: 0 — 960 fps
Max frame rate per resolution:
144p: 960,0 fps
144p (YouTube): 960,0 fps
240p: 960,0 fps
240p (widescreen): 960,0 fps
360p: 960,0 fps
360p (widescreen): 960,0 fps
480p: 960,0 fps
480p (widescreen): 960,0 fps
576p: 960,0 fps
720p: 960,0 fps
1080p: 960,0 fps
1440p: 960,0 fps
4K: 960,0 fps
8K: 960,0 fps
Color profiles:
COLOR_FormatSurface (0x7F000789)
COLOR_FormatYUV420Flexible (0x7F420888)
COLOR_FormatYUV420PackedPlanar (0x14)
COLOR_FormatYUV420PackedSemiPlanar (0x27)
COLOR_FormatYUV420Planar (0x13)
COLOR_FormatYUV420SemiPlanar (0x15)
COLOR_FormatYUVP010 (0x36)
Adaptive playback: true (required: false)
Partial frames queuing: false
Secure playback decryption: false
Can detach the surface when in Surface mode: false
Dynamic change of color aspects: false
Dynamic timestamp: false
Multiple access units: false
Tunneled playback: false
Partial access units per input buffer: false
Supported vendor parameters:
vendor.mtk.ext.dynamic.loglevel.feature-lv
vendor.mtk.ext.vdec.force.output.cc.value
vendor.mtk.ext.vdec.hdr.feature-on
vendor.mtk.ext.vdec.hdr2sdr.feature-on
vendor.mtk.ext.vdec.heif.feature-on
vendor.mtk.ext.vdec.svp.feature-on
vendor.mtk.ext.vdec.vilte.error-handle-mode
vendor.mtk.ext.vdec.vilte.feature-on
vendor.mtk.ext.vdec.vpp.disabled.value
vendor.mtk.ext.vdec.vpp.independent.disabled.motion-intpl
vendor.mtk.ext.vdec.vpp.independent.disabled.quality-tuner
vendor.mtk.ext.vdec.vpp.independent.disabled.resolution-scaler
vendor.mtk.ext.vdec.vpp.motion.intpl.disabled.value
vendor.mtk.ext.vdec.vpp.motion.intpl.fallback-copy
vendor.mtk.ext.vdec.vpp.motion.intpl.fallback-level
vendor.mtk.ext.vdec.vpp.motion.intpl.feature-on
vendor.mtk.ext.vdec.vpp.motion.intpl.max-conversion-rate
vendor.mtk.ext.vdec.vpp.motion.intpl.pixel-format
vendor.mtk.ext.vdec.vpp.quality.tuner.disabled.value
vendor.mtk.ext.vdec.vpp.quality.tuner.feature-on
vendor.mtk.ext.vdec.vpp.quality.tuner.pixel-format
vendor.mtk.ext.vdec.vpp.resolution.scaler.disabled.value
vendor.mtk.ext.vdec.vpp.resolution.scaler.domain-index
vendor.mtk.ext.vdec.vpp.resolution.scaler.feature-on
vendor.mtk.ext.vdec.vpp.resolution.scaler.max-frame-height
vendor.mtk.ext.vdec.vpp.resolution.scaler.max-frame-width
vendor.mtk.ext.vdec.vpp.resolution.scaler.pixel-format
vendor.mtk.ext.vdec.vpp.resolution.scaler.quality-index
vendor.mtk.ext.vdec.vpp.resolution.scaler.scale-ratio
vendor.mtk.ext.vdec.vpp.resolution.scaler.wechatVcall-on
vendor.mtk.intfimpl.thiz.value
vendor.mtk.output.buffer.alloc.config.usage
vendor.mtk.vdec.bq.guard.interval.time.value
vendor.mtk.vdec.buffer.fetch.timeout.ms.value
vendor.mtk.vdec.cpu.boost.mode.value
vendor.mtk.vdec.decode.warning.mode.value
vendor.mtk.vdec.force.pixel.format.value
vendor.mtk.vdec.thumbnail.mode.value

I think i will have to wait for an update from Mediatek codec side :(

Re: Converted JPG -> HEIC not compatible in new Android devices

Posted: Tue Sep 30, 2025 5:56 pm
by masterjp
I used HEIF/HEIC files on different android smartphones in the past.
There were many problems to save jpeg files to heif/heic in the correct format for android.
Sometimes the picture size was to big and the viewer had problems.
Also I saw green lines in my picture, because the width or height was odd size.
Absolutely anoying.

I also had Samsung Android version 8 up to 15 on different devices (smartphone/tablet).
Every android version has different video and picture codecs.
Newer android versions deliver more features of a video or picture format.
So older android versions sometimes have problems.

The best android viewer for pictures is the freeware app fossify gallery for android.
You can download it from google playstore. It supports HEIF/HEIC, AVIF, JPEG-XL, JPG, PNG, GIF, etc.

Fossify gallery has its own picture/video codecs. That will be a big advantage, if your android version does not support the picture format.