Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

thumb

Manav Rathi55281b7e3247
diff --git a/desktop/scripts/vips/README.md b/desktop/scripts/vips/README.md
index 345f2bd9bd..7da3799ea2 100644
--- a/desktop/scripts/vips/README.md
+++ b/desktop/scripts/vips/README.md
@@ -24,8 +24,23 @@ Meanwhile, to recreate the existing imagemagick thumbnail conversion pipeline
```sh
./vips --help-operation thumbnail
+./vips thumbnail sample.heic sample.heic.thumb.jpeg 720
+./vips thumbnail sample.heic sample.heic.thumb.jpeg[Q=50] 720
```
+
+> The output image will fit within a square of size width x width
+>
+> https://www.libvips.org/API/current/libvips-resample.html#vips-thumbnail
+
+> You can pass options to the implicit load and save operations enclosed in
+> square brackets after the filename:
+>
+> vips affine k2.jpg x.jpg[Q=90,strip] "2 0 0 1"
+>
+> https://www.libvips.org/API/current/using-cli.html
+
+
## Notes 2
Try using libvips-packaging, see if it builds vips tools binaries too.