summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nick Buk[0vec] <nbukovec@calpoly.edu> 2023-01-31 17:21:28 -0800
committerGravatar GitHub <noreply@github.com> 2023-01-31 21:21:28 -0400
commit15f4d96b08caf3fd5db54aaef6255c8af7cbffd1 (patch)
tree83a26baaa257fa4d716b27a42330cf34b49565d7
parent2ab32b59ef0a28d34757f2c2adb9cf2baa86855e (diff)
downloadastro-15f4d96b08caf3fd5db54aaef6255c8af7cbffd1.tar.gz
astro-15f4d96b08caf3fd5db54aaef6255c8af7cbffd1.tar.zst
astro-15f4d96b08caf3fd5db54aaef6255c8af7cbffd1.zip
Add links to sharp docs in @astro/image README (#6017)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
-rw-r--r--packages/integrations/image/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/integrations/image/README.md b/packages/integrations/image/README.md
index e33520239..9b369f631 100644
--- a/packages/integrations/image/README.md
+++ b/packages/integrations/image/README.md
@@ -259,7 +259,7 @@ color representation with 3 or 6 hexadecimal characters in the form `#123[abc]`,
**Default:** `'cover'`
</p>
-> This is not supported by the default Squoosh service. See the [installation section](#installing-sharp-optional) for details on using the `sharp` service instead.
+> This is not supported by the default Squoosh service. See the [installation section](#installing-sharp-optional) for details on using the `sharp` service instead. Read more about [how `sharp` resizes images](https://sharp.pixelplumbing.com/api-resize).
How the image should be resized to fit both `height` and `width`.
@@ -271,7 +271,7 @@ How the image should be resized to fit both `height` and `width`.
**Default:** `'centre'`
</p>
-> This is not supported by the default Squoosh service. See the [installation section](#installing-sharp-optional) for details on using the `sharp` service instead.
+> This is not supported by the default Squoosh service. See the [installation section](#installing-sharp-optional) for details on using the `sharp` service instead. Read more about [how `sharp` resizes images](https://sharp.pixelplumbing.com/api-resize).
Position of the crop when fit is `cover` or `contain`.
@@ -392,7 +392,7 @@ color representation with 3 or 6 hexadecimal characters in the form `#123[abc]`,
**Default:** `'cover'`
</p>
-> This is not supported by the default Squoosh service. See the [installation section](#installing-sharp-optional) for details on using the `sharp` service instead.
+> This is not supported by the default Squoosh service. See the [installation section](#installing-sharp-optional) for details on using the `sharp` service instead. Read more about [how `sharp` resizes images](https://sharp.pixelplumbing.com/api-resize).
How the image should be resized to fit both `height` and `width`.
@@ -406,7 +406,7 @@ How the image should be resized to fit both `height` and `width`.
**Default:** `'centre'`
</p>
-> This is not supported by the default Squoosh service. See the [installation section](#installing-sharp-optional) for details on using the `sharp` service instead.
+> This is not supported by the default Squoosh service. See the [installation section](#installing-sharp-optional) for details on using the `sharp` service instead. Read more about [how `sharp` resizes images](https://sharp.pixelplumbing.com/api-resize).
Position of the crop when fit is `cover` or `contain`.