Skip to content

add support for HEIC and TIFF#5

Merged
xavierlacot merged 1 commit intomainfrom
feat/tiff-support
Jul 4, 2025
Merged

add support for HEIC and TIFF#5
xavierlacot merged 1 commit intomainfrom
feat/tiff-support

Conversation

@xavierlacot
Copy link
Member

When uploading media that cannot be displayed on the web, we want to make sure that variations generated by jolimedia will be able to be displayed and embedded in web pages.

Therefore, the processors provided by JoliMedia only allow to output file types that can be displayed (eg. png, jpeg, webp, etc., but not tiff files).

However, it can be useful to allow for uploading tif or heic files, for example.

This PR allows to convert such files and generate the right variation file types according to the format constraints of each variation. In particular, with JoliMedia the default behavior when a Variation does not define any specific output format is to output a file of the same mime type like the original file. This PR addresses this point, and allows to generate variations in alternative formats (usually jpeg) for mime-types that cannot be displayed on the web.

@xavierlacot xavierlacot added the enhancement New feature or request label Jul 4, 2025
@xavierlacot xavierlacot merged commit e0db74f into main Jul 4, 2025
3 checks passed
@xavierlacot xavierlacot deleted the feat/tiff-support branch July 4, 2025 13:10
@tacman tacman mentioned this pull request Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant