Docs: clarify metadata ignores chained ops

This commit is contained in:
Lovell Fuller 2023-03-10 13:35:06 +00:00
parent c87fe512b4
commit fc03fba602
2 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,9 @@
## metadata
Fast access to (uncached) image metadata without decoding any compressed pixel data.
This is taken from the header of the input image.
It does not include operations, such as resize, to be applied to the output image.
This is read from the header of the input image.
It does not take into consideration any operations to be applied to the output image,
such as resize or rotate.
Dimensions in the response will respect the `page` and `pages` properties of the
[constructor parameters](/api-constructor#parameters).

View File

@ -411,8 +411,9 @@ function _isStreamInput () {
/**
* Fast access to (uncached) image metadata without decoding any compressed pixel data.
*
* This is taken from the header of the input image.
* It does not include operations, such as resize, to be applied to the output image.
* This is read from the header of the input image.
* It does not take into consideration any operations to be applied to the output image,
* such as resize or rotate.
*
* Dimensions in the response will respect the `page` and `pages` properties of the
* {@link /api-constructor#parameters|constructor parameters}.