mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Correct README markdown format
This commit is contained in:
@@ -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:
|
||||
|
||||
# Buffer containing JPEG, PNG or WebP image data.
|
||||
# String containing the filename of an image. Most major formats are supported.
|
||||
* Buffer containing JPEG, PNG or WebP image data, or
|
||||
* String containing the filename of an image, with most major formats supported.
|
||||
|
||||
### resize(width, [height])
|
||||
|
||||
@@ -204,6 +204,7 @@ Running the tests requires both ImageMagick and GraphicsMagick plus one of eithe
|
||||
brew install imagemagick
|
||||
brew install graphicsmagick
|
||||
|
||||
|
||||
sudo apt-get install imagemagick graphicsmagick libmagick++-dev
|
||||
|
||||
## Performance
|
||||
|
||||
Reference in New Issue
Block a user