mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Impute TIFF xres/yres from withMetadata({density})
This commit is contained in:
committed by
Lovell Fuller
parent
b33231d4bd
commit
342de36973
@@ -379,6 +379,8 @@ Returns **Sharp**
|
||||
|
||||
Use these TIFF options for output image.
|
||||
|
||||
The `density` can be set in pixels/inch via [withMetadata][1] instead of providing `xres` and `yres` in pixels/mm.
|
||||
|
||||
### Parameters
|
||||
|
||||
* `options` **[Object][6]?** output options
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user