Skip to content

Commit 614890c

Browse files
authored
Switch from Sharp to Jimp (#14)
1 parent 99bd0db commit 614890c

File tree

4 files changed

+577
-469
lines changed

4 files changed

+577
-469
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ Note: All output files are named in the pattern `<original-filename>@<size>w.<fi
4141

4242
`quality` (default: 65 | `int`): The quality of output images, for image formats that have output quality controls.
4343

44-
`inputFormat` (default: ['jpg', 'jpeg', 'png'] | `string` or `[string]`): The file extensions of the images we care about. Must be a format supported by [sharp](https://sharp.pixelplumbing.com/api-output#toformat), or `match`, which matches the input format of the image.
44+
`inputFormat` (default: ['jpg', 'jpeg', 'png'] | `string` or `[string]`): The file extensions of the images we care about. Must be a format supported by [jimp](https://github.com/oliver-moran/jimp#supported-image-types), or `match`, which matches the input format of the image.
4545

46-
`outputFormat` (default: 'jpg' | `string` or `[string]`): The file extensions of the images we want to output. Must be a format supported by [sharp](https://sharp.pixelplumbing.com/api-output#toformat) or `match`, which is used to match the input format.
46+
`outputFormat` (default: 'jpg' | `string` or `[string]`): The file extensions of the images we want to output. Must be a format supported by [jimp](https://github.com/oliver-moran/jimp#supported-image-types) or `match`, which is used to match the input format.
4747

4848
`forceUpscale` (default: false | `boolean`): If the source image is larger, do we want to forcibly generate a scaled up version or whether we should just ignore it.
4949

0 commit comments

Comments
 (0)