Skip to content

Conversation

@jeremypoulter
Copy link
Collaborator

Implement HEIC and HEIF support for photo uploads, enabling iPhone users to upload their images. Update backend and frontend to handle HEIC MIME types, convert HEIC files to JPEG for browser compatibility, and maintain support for existing formats. Ensure all necessary dependencies are included in the Docker setup.

Fixes #111

jeremypoulter and others added 5 commits December 19, 2025 21:15
- Install ImageMagick with libheif support in Docker container
- Update backend to accept image/heic and image/heif MIME types
- Automatically convert HEIC files to JPEG for browser compatibility
- Update frontend validation to accept HEIC files
- Maintain backwards compatibility with existing JPG, PNG, WebP formats

Fixes openenergymonitor#111
Imagemagik does not come with HEIC support by default, so we need to build it from source
@jeremypoulter jeremypoulter marked this pull request as ready for review December 29, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add suport for HEIC photo format?

1 participant