HEIC/HEIF file support in server, in docker image

I cannot view HEIF/HEIC files in web OwnCloud interface, installed from latest docker image. The format is a standard in new iOS, so it should be supported in OwnCloud too.

Steps to reproduce

  1. Install server from latest docker image (current: 10.2.1 stable)
  2. Install Media Viewer app
  3. Upload *.heic photos from iOS
  4. Try to view them using Media Viewer using OwnCloud web interface

Expected behaviour

Thumbnails shall be generated
Photos shall be displayed like other media types in preview

Actual behaviour

*.heic files are treated as unknown file type

Server configuration

Operating system: Ubuntu 18.04

Web server: from docker

Database: from docker

PHP version: from docker

ownCloud version: latest from docker (10.2.1 stable)

Updated from an older ownCloud or fresh install: fresh

Where did you install ownCloud from: docker

Signing status (ownCloud 9.0 and above): No errors have been found.

The content of config/config.php: fresh config from docker image

List of activated apps: Media Viewer, Gallery

Client configuration

Browser: Firefox 68

Operating system: Windows, Ubuntu

@jachoo server-side support has been discussed in https://github.com/owncloud/core/pull/30093 and https://github.com/owncloud/gallery/issues/737

As a workaround, you could convert images to JPEG at upload, but that’s not a real solution:

It seems that required changes were merged into master a year ago. I guess that the problem is with imagemagick package version included in docker image of ownCloud.


i think you still need a viewer like e.g. https://marketplace.owncloud.com/apps/camerarawpreviews.

But it seems the Media Viewer app can’t currently handle the previews from that app: