Skip to content

Commit

Permalink
Prepare for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
vseventer committed Jun 21, 2016
1 parent e6bf599 commit 5d86b19
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.4.2 (June 21, 2016)
* Bugfix: mark `--grayscale` as boolean option.
* Enhancement: update dependencies, including `sharp` (`0.15.x`).

## 0.4.1 (April 18, 2016)
* Enhancement: add [`--tileContainer`](http://sharp.dimens.io/en/stable/api/#tileoptions).

Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ $ sharp --help
--crop <string> Crop the resized image based on the specified gravity (north, east,
south, west, center).
--embed Resize the image, then embed on a background.
--extendTop <number> Pixels to add to the top edge. Use in conjunction with --extendLeft,
--extendBottom, and --extendRight.
--extendLeft <number> Pixels to add to the left edge. Use in conjunction with --extendTop,
--extendBottom, and --extendRight.
--extendBottom <number> Pixels to add to the bottom edge. Use in conjunction with
--extendTop, --extendLeft, and --extendRight.
--extendRight <number> Pixels to add to the right edge. Use in conjunction with --extendTop,
--extendLeft, and --extendBottom.
--extractHeight <number> Height of the region to be extracted. Use in conjunction with
--extractLeft, --extractTop, and --extractWidth.
--extractLeft <number> Left offset of the region to be extracted. Use in conjunction with
Expand Down Expand Up @@ -65,21 +73,27 @@ $ sharp --help
Calculate which spectrum of DCT coefficients uses the fewest bits.
Used for progressive (interlace) JPEG output.
--overlay <string> Alpha composite the specified file over the processed image.
--overlayGravity <string> Place the overlay baed on the specified gravity (north, east, south,
west, center). Use in conjunction with --overlay.
--overshootDeringing Reduce the effects of ringing in JPEG output.
--progressive Use progressive (interlace) scan for JPEG and PNG output.
-q, --quality <number> The output quality, between 1 and 100, to use for lossy JPEG, WebP,
and TIFF output formats. Defaults to 80.
--rotate [number] Rotate the output image by the specified angle (0, 90, 180, 270), or
auto-orient based on the EXIF Orientation tag.
--sequentialRead Switches the libvips access method to VIPS_ACCESS_SEQUENTIAL.
--sharpen <number> Sharpen the output image, optionally specifying the sharpen radius.
--sharpen <number> Sharpen the output image, optionally specifying the sharpen sigma.
--sharpenFlat <number> Specify the level of sharpeness to apply to "flat" areas. Defaults to
1.0. Use in conjunction with --sharpen.
--sharpenJagged <number> Specify the level of sharpeness to apply to "jagged" areas. Defaults
to 2.0. Use in conjunction with --sharpen.
--threshold <number> Specify the level above which pixels will be forced to white.
--tile [number] Applies square image pyramid tiles over the image, optionally
specifying a tile size between 1 and 8192. Defaults to 256 pixels.
--tileContainer <string> Specifies the tile container (fs, zip). Defaults to fs.
--tileLayout <string> Specifies the layout to use when generating square Deep Zoom image
pyramid tyles (dz, zoomify, google). Defaults to dz.
Use in conjunction with --tile.
--tileOverlap <number> Specifies the tile overlap, between 0 and 8192. Defaults to 0 pixels.
Use in conjunction with --tile.
--trellisQuantization, --trellesQuantisation
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "sharp-cli",
"version" : "0.4.1",
"version" : "0.4.2",
"description" : "CLI for sharp.",
"keywords" : [ "cli", "jpeg", "libvips", "png", "sharp", "vips", "webp" ],
"homepage" : "https://github.com/vseventer/sharp-cli",
Expand All @@ -14,19 +14,19 @@
"test" : "mocha"
},
"dependencies": {
"bluebird" : "3.3.x",
"bluebird" : "3.4.x",
"glob" : "7.0.x",
"is-file" : "1.0.x",
"meow" : "3.7.x",
"mkdir-p" : "0.0.x",
"sharp" : "0.14.x",
"sharp" : "0.15.x",
"sponge" : "0.1.x"
},
"devDependencies": {
"chai" : "3.5.x",
"jshint" : "2.9.x",
"jshint-stylish": "2.1.x",
"mocha" : "2.4.x",
"jshint-stylish": "2.2.x",
"mocha" : "2.5.x",
"sinon" : "1.17.x",
"sinon-chai" : "2.8.x"
},
Expand Down

0 comments on commit 5d86b19

Please sign in to comment.