From d45f8ef2d3cbc6008fc28268eab03e6e86dbd39a Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Tue, 23 May 2017 21:24:29 +0100 Subject: [PATCH] Document the cache-free nature of metadata extraction #796 --- docs/api-input.md | 2 +- lib/input.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api-input.md b/docs/api-input.md index 09e8b8b2..98ebb015 100644 --- a/docs/api-input.md +++ b/docs/api-input.md @@ -28,7 +28,7 @@ Returns **Sharp** ## 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. - `format`: Name of decoder used to decompress image data e.g. `jpeg`, `png`, `webp`, `gif`, `svg` diff --git a/lib/input.js b/lib/input.js index 368af83e..3c434a33 100644 --- a/lib/input.js +++ b/lib/input.js @@ -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. * * - `format`: Name of decoder used to decompress image data e.g. `jpeg`, `png`, `webp`, `gif`, `svg`