haiwen / seafile-iOS

iOS client for seafile
Apache License 2.0
221 stars 151 forks source link

Uploaded HEIC photos are actually JPEG with HEIC file extensions #358

Open alperozcetin opened 2 months ago

alperozcetin commented 2 months ago

Assessing the HEIC files uploaded with Seafile, file structure is not HEIC instead they are JPEG files with HEIC file extension. Using these files in other applications as HEIC results with an error, and files can be used as JPEG instead.

So Seafile iOS app does not upload the original raw HEIC images directly, rather still processes them as JPEG and uploads them as JPEG just with HEIC extension.

Assessed the files with several other tools as well, below is a summary.

The file starts with a JPEG header and includes typical JPEG metadata, including EXIF data. Extended analysis shows no HEIC-specific markers, confirming that the file is entirely a JPEG despite its .HEIC extension. Thus, the file is a misnamed JPEG file.

lilthree commented 2 months ago

It will be fixed in the next version.