mirror of
https://github.com/lovell/sharp.git
synced 2025-07-13 12:20:13 +02:00
Correct README markdown format
This commit is contained in:
parent
cae1dbdb89
commit
481741315d
@ -114,8 +114,8 @@ sharp('input.gif').resize(200, 300).embedBlack().webp(function(err, buffer) {
|
|||||||
|
|
||||||
Constructor to which further methods are chained. `input` can be one of:
|
Constructor to which further methods are chained. `input` can be one of:
|
||||||
|
|
||||||
# Buffer containing JPEG, PNG or WebP image data.
|
* Buffer containing JPEG, PNG or WebP image data, or
|
||||||
# String containing the filename of an image. Most major formats are supported.
|
* String containing the filename of an image, with most major formats supported.
|
||||||
|
|
||||||
### resize(width, [height])
|
### resize(width, [height])
|
||||||
|
|
||||||
@ -204,6 +204,7 @@ Running the tests requires both ImageMagick and GraphicsMagick plus one of eithe
|
|||||||
brew install imagemagick
|
brew install imagemagick
|
||||||
brew install graphicsmagick
|
brew install graphicsmagick
|
||||||
|
|
||||||
|
|
||||||
sudo apt-get install imagemagick graphicsmagick libmagick++-dev
|
sudo apt-get install imagemagick graphicsmagick libmagick++-dev
|
||||||
|
|
||||||
## Performance
|
## Performance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user