Apply suggestions from proof reading

Co-authored-by: Martin <github@diemattels.at>
This commit is contained in:
Ralf Haferkamp
2024-10-17 14:05:27 +02:00
co-authored by Martin
parent f679a5cfb0
commit 2feb1ab0cf
+7 -7
View File
@@ -90,17 +90,17 @@ To have more control over memory (and CPU) consumption the maximum number of con
If a resource is shared using SecureView, the share reciever will get a 403 (forbidden) response when requesting a thumbnail. The requesting client needs to decide what to show and usually a placeholder thumbnail is used.
## Using libvips for thumbnail generation
## Using libvips for Thumbnail Generation
To improve performance (and to support a wider range of images formats) the thumbnails service is able to utilize libvips (https://www.libvips.org/) for thumbnail generation. Support for libvips needs to be
To improve performance and to support a wider range of images formats, the thumbnails service is able to utilize the [libvips library](https://www.libvips.org/) for thumbnail generation. Support for libvips needs to be
enabled at buildtime and has a couple of implications:
* With libvips support enabled it is not possible to create a statically linked ocis binary
* So the libvips shared libraries need to be available at runtime in the same release that was used to build the ocis binary
* When using the ocis docker images the libvips shared libraries are included in the image
* With libvips support enabled, it is not possible to create a statically linked ocis binary.
* Therefore, the libvips shared libraries need to be available at runtime in the same release that was used to build the ocis binary.
* When using the ocis docker images, the libvips shared libraries are included in the image and are correctly embedded.
Support of libvips is disabled by default. To enable it make sure libvips and its buildtime dependencies are install in your build environment. Then just set
the `ENABLE_VIPS` variable on the `make` command:
Support of libvips is disabled by default. To enable it, make sure libvips and its buildtime dependencies are installed in your build environment.
Then you just need to set the `ENABLE_VIPS` variable on the `make` command:
```shell
make -C ocis build ENABLE_VIPS=1