Docs: toFile expects directory structure to exist

This commit is contained in:
Lovell Fuller
2021-08-20 09:22:22 +01:00
parent 17e50de5f0
commit 4e84f743e4
2 changed files with 4 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ const errMagickSave = new Error('GIF output requires libvips with support for Im
* By default all metadata will be removed, which includes EXIF-based orientation.
* See {@link withMetadata} for control over this.
*
* The caller is responsible for ensuring directory structures and permissions exist.
*
* A `Promise` is returned when `callback` is not provided.
*
* @example