Skip to content

feat(preview): open heic and avif in the preview app - #3998

Closed
dschmidt wants to merge 1 commit into
mainfrom
feat/preview-heic-avif
Closed

dschmidt wants to merge 1 commit into
mainfrom
feat/preview-heic-avif

Conversation

@dschmidt

Copy link
Copy Markdown
Contributor

Two formats the viewer refused to open, although it never decodes the file itself: for an image it loads what the preview service returns, processor=fit at the viewport size, so what arrives in the browser is a jpeg. A .heic therefore opens in Chrome and Firefox, which decode no heic at all.

What it needs is a server whose generator reads the formats. The built-in resizer does not, imagor with libvips does, and the dev stack gets it in #3997.

A file whose preview the server cannot make still shows the viewer's error state, the same as today for any other type.

@github-actions

Copy link
Copy Markdown

Label error. Requires at least 1 of: Type:Bug, Type:Regression, Type:Enhancement, Type:Feature, Type:Breaking-Change, Type:Test, Type:Documentation, Type:Maintenance, Type:Security, Type:Dependencies, Type:DevOps, dependencies. Found:

The viewer renders what the preview service hands it, not the file itself, so a
heic opens even though no browser but Safari decodes one: the server returns a
jpeg. Needs a generator that reads the formats, imagor does.
@dschmidt dschmidt closed this Oct 23, 2026
@dschmidt
dschmidt deleted the feat/preview-heic-avif branch October 23, 2026 13:05
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