Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.48k stars 2.8k forks source link

WISH: Add iPhone image format HEIF #31981

Open zunami opened 4 days ago

zunami commented 4 days ago

Feature Request

As there are more and more photos in the field, but in HEIF format, support for this would be great. It's about the preview view, as this is an image format.

https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format

hregis commented 4 days ago

@zunami And what image software can create this kind of images and is php or others capable of interpreting these images and from what version?

zunami commented 3 days ago

I am using version Dolibarr 20.0.2 Docker and PHP 8.2.25

Maybe it is misunderstood. I can upload and download these files.

when you upload JPG files, a preview window opens. this does not happen with your HEIF or HEIC image formats.

hregis commented 3 days ago

@zunami yes, for sure... HEIF and HEIC is not a jpg format ! https://www.pixfan.com/format-heif/
(french laguage)

hregis commented 3 days ago

@zunami Do you know a php application that handles this format?

zunami commented 3 days ago

no i meant that jpg png formats appear in a preview image. unfortunately, heif image formats are not displayed as thumbnails. see example image of a png file.

Preview

i don't know which php version can handle this. but i'm not sure if it's because of the php version. i rather think that these formats are opened by dolibarr as a “preview image” window and the browser displays the respective image format as long as it knows it.

sonikf commented 3 days ago

Hi @zunami According to this https://caniuse.com/heif it is only supported by Safari browser

zunami commented 3 days ago

Hi @zunami According to this https://caniuse.com/heif it is only supported by Safari browser

oh thank you, I didn't know that