mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Document the cache-free nature of metadata extraction #796
This commit is contained in:
parent
d6a63d11d7
commit
d45f8ef2d3
@ -28,7 +28,7 @@ Returns **Sharp**
|
|||||||
|
|
||||||
## metadata
|
## metadata
|
||||||
|
|
||||||
Fast access to image metadata without decoding any compressed image data.
|
Fast access to (uncached) image metadata without decoding any compressed image data.
|
||||||
A Promises/A+ promise is returned when `callback` is not provided.
|
A Promises/A+ promise is returned when `callback` is not provided.
|
||||||
|
|
||||||
- `format`: Name of decoder used to decompress image data e.g. `jpeg`, `png`, `webp`, `gif`, `svg`
|
- `format`: Name of decoder used to decompress image data e.g. `jpeg`, `png`, `webp`, `gif`, `svg`
|
||||||
|
@ -157,7 +157,7 @@ function clone () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fast access to image metadata without decoding any compressed image data.
|
* Fast access to (uncached) image metadata without decoding any compressed image data.
|
||||||
* A Promises/A+ promise is returned when `callback` is not provided.
|
* A Promises/A+ promise is returned when `callback` is not provided.
|
||||||
*
|
*
|
||||||
* - `format`: Name of decoder used to decompress image data e.g. `jpeg`, `png`, `webp`, `gif`, `svg`
|
* - `format`: Name of decoder used to decompress image data e.g. `jpeg`, `png`, `webp`, `gif`, `svg`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user