mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Docs: toFile expects directory structure to exist
This commit is contained in:
parent
17e50de5f0
commit
4e84f743e4
@ -11,6 +11,8 @@ Note that raw pixel data is only supported for buffer output.
|
|||||||
By default all metadata will be removed, which includes EXIF-based orientation.
|
By default all metadata will be removed, which includes EXIF-based orientation.
|
||||||
See [withMetadata][1] for control over this.
|
See [withMetadata][1] for control over this.
|
||||||
|
|
||||||
|
The caller is responsible for ensuring directory structures and permissions exist.
|
||||||
|
|
||||||
A `Promise` is returned when `callback` is not provided.
|
A `Promise` is returned when `callback` is not provided.
|
||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
@ -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.
|
* By default all metadata will be removed, which includes EXIF-based orientation.
|
||||||
* See {@link withMetadata} for control over this.
|
* 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.
|
* A `Promise` is returned when `callback` is not provided.
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
|
Loading…
x
Reference in New Issue
Block a user