Skip to content

JPEG Ultra HDR / JPEG_R image suport#700

Open
davidmz wants to merge 8 commits into
stablefrom
hdr-images
Open

JPEG Ultra HDR / JPEG_R image suport#700
davidmz wants to merge 8 commits into
stablefrom
hdr-images

Conversation

@davidmz

@davidmz davidmz commented May 21, 2026

Copy link
Copy Markdown
Member

Added

  • Added JPEG Ultra HDR / JPEG_R image preview generation. For supported JPEG images with gain maps, the server now creates a second set of JPEG previews with gain maps and stores them as HDR-specific preview variants.

    Attachments with generated HDR previews expose meta.hdr: true, and clients can request the HDR version with GET /v4/attachments/:id/image?variant=hdr. The variant=hdr query parameter is safe to send for any image attachment: if an HDR preview is not available, the endpoint falls back to the regular SDR preview. HDR preview responses include variant: "hdr".

Install `libheif-plugin-libde265` to allow ImageMagick to properly process HEIF/HEIC files, which are commonly used for HDR content.

Adjust HDR preview integration tests to remove assertions on specific image profiles, making them more robust to variations in metadata output across different HDR image formats and processing steps.
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.

1 participant