From d0507897f6499ede2203e6a1e0b7ef9f22aef6f6 Mon Sep 17 00:00:00 2001 From: sage <149851+lopcode@users.noreply.github.com> Date: Tue, 1 Jul 2025 19:01:36 +0100 Subject: [PATCH] Add note to usage example about untrusted operations --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 35b8978..af64b7f 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,8 @@ import app.photofox.vipsffm.enums.VipsAccess // ... // Call once to initialise libvips when your program starts, from any thread +// Note that by default this blocks untrusted operations (like loading PDFs) +// Use `Vips.init(true, ...)` to permit untrusted operations Vips.init() // Use `Vips.run` to wrap your usage of the API, and get an arena with an appropriate lifetime to use