mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-12-06 01:43:12 +08:00
feat: add an imagor module for heic, heif and avif previews (#407)
imagor runs on an internal network, the webdav service points at it as the preview generator, and the three formats plus their sequence types are announced, so previews show up in the file list and the preview app. The OpenCloud image ships no libheif on purpose, so its own generator refuses them. Documented in README and .env.example, image tag pinned and tracked by renovate. Needs OpenCloud 9.0.0 or newer.
This commit is contained in:
21
.env.example
21
.env.example
@@ -210,6 +210,27 @@ START_ADDITIONAL_SERVICES=""
|
||||
# like advanced OCR or specific image processing capabilities.
|
||||
TIKA_IMAGE=
|
||||
|
||||
### imagor Preview Generator ###
|
||||
# imagor renders previews through libvips, which reads formats the built-in
|
||||
# generator does not, heic, heif and avif among them.
|
||||
# Needs OpenCloud 9.0.0 or newer.
|
||||
# Enable it by adding thumbnails/imagor.yml to the COMPOSE_FILE variable or by
|
||||
# using the following command:
|
||||
# docker compose -f docker-compose.yml -f thumbnails/imagor.yml up -d
|
||||
# Docker image to use for the imagor container. Defaults to "shumc/imagor".
|
||||
# "ghcr.io/cshum/imagor-magick" adds ImageMagick for formats libvips does not read,
|
||||
# PSD, XCF and BMP among them. Slower, more memory and a larger attack surface,
|
||||
# imagor recommends the standard image for most setups.
|
||||
#IMAGOR_DOCKER_IMAGE=
|
||||
# Docker tag to pull for the imagor container. Defaults to "1.9.14".
|
||||
#IMAGOR_DOCKER_TAG=
|
||||
# Largest source image imagor accepts, in bytes. Defaults to "50000000".
|
||||
#IMAGOR_MAX_SOURCE_SIZE=
|
||||
# Mime types previews are announced and attempted for on top of the built-in list,
|
||||
# comma separated. A type imagor cannot read answers 404.
|
||||
# Defaults to "image/heic,image/heif,image/avif,image/heic-sequence,image/heif-sequence".
|
||||
#THUMBNAILS_ADDITIONAL_SOURCE_TYPES=
|
||||
|
||||
### IMPORTANT Note for Online Office Apps ###
|
||||
# To avoid app interlocking issues, you should select only one app to be active/configured.
|
||||
# This is due the fact that there is currently no app interlocking for the same file and one
|
||||
|
||||
Reference in New Issue
Block a user