Skip to content

Commit

Permalink
Prepare for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
vseventer committed Jul 25, 2018
1 parent 73ec3e2 commit 53a7761
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 22 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 1.7.1
## 1.7.1 (July 24, 2018)
* Added [`--optimiseCoding`](http://sharp.pixelplumbing.com/en/stable/api-output/#jpeg) option.
* Added `ccittfax4` compression option to TIFF output.
* Added [median](http://sharp.pixelplumbing.com/en/stable/api-operation/#median) command.
Expand Down
44 changes: 24 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Commands:
[aliases: grayscale]
sharp joinChannel <images..> Join one or more channels to the image
sharp linear [multiplier] [offset] Apply the linear formula a × input + b to the image
sharp median [size] Apply median filter
sharp negate Produce the "negative" of the image
sharp normalise Enhance output image contrast by stretching its
luminance to cover the full dynamic range
Expand All @@ -43,6 +44,8 @@ Commands:
sharp threshold [value] Any pixel value greather than or equal to the
threshold value will be set to 255, otherwise it will
be set to 0
sharp tint <rgb> Tint the image using the provided chroma while
preserving the image luminance
sharp tile [size] Use tile-based deep zoom (image pyramid) output
sharp toColourspace <colourspace> Set the output colourspace [aliases: toColorspace]
sharp trim [tolerance] Trim "boring" pixels from all edges that contain
Expand All @@ -64,26 +67,27 @@ Global Options
image [boolean]
Optimization Options
--adaptiveFiltering Use adaptive row filtering [boolean]
--alphaQuality Quality of alpha layer [number] [default: 80]
--chromaSubsampling Set to "4:4:4" to prevent chroma subsampling when quality <= 90
[string] [default: 4:2:0]
--compression Compression options
[string] [choices: "deflate", "jpeg", "lzw", "none"] [default: "jpeg"]
--lossless Use lossless compression mode [boolean]
--nearLossless use near_lossless compression mode [boolean]
--optimise, --optimize Apply optimiseScans, overshootDeringing, and trellisQuantisation
[boolean]
--optimiseScans, --optimizeScans Optimise progressive scans [boolean]
--overshootDeringing Apply overshoot deringing [boolean]
--predictor Compression predictor
--adaptiveFiltering Use adaptive row filtering [boolean]
--alphaQuality Quality of alpha layer [number] [default: 80]
--chromaSubsampling Set to "4:4:4" to prevent chroma subsampling when quality <=
90 [string] [default: 4:2:0]
--compression Compression options
[string] [choices: "ccittfax4", "deflate", "jpeg", "lzw", "none"] [default: "jpeg"]
--lossless Use lossless compression mode [boolean]
--nearLossless use near_lossless compression mode [boolean]
--optimise, --optimize Apply optimiseScans, overshootDeringing, and
trellisQuantisation [boolean]
--optimiseCoding, --optimizeCoding Optimise Huffman coding tables [boolean] [default: true]
--optimiseScans, --optimizeScans Optimise progressive scans [boolean]
--overshootDeringing Apply overshoot deringing [boolean]
--predictor Compression predictor
[string] [choices: "float", "horizontal", "none"] [default: "horizontal"]
--sequentialRead An advanced setting that switches the libvips access method to
VIPS_ACCESS_SEQUENTIAL [boolean]
--squash Squash 8-bit images down to 1 bit [boolean]
--trellisQuantisation Apply trellis quantisation [boolean]
--xres Horizontal resolution [number] [default: 1.0]
--yres Vertical resolution [number] [default: 1.0]
--sequentialRead An advanced setting that switches the libvips access method to
VIPS_ACCESS_SEQUENTIAL [boolean]
--squash Squash 8-bit images down to 1 bit [boolean]
--trellisQuantisation Apply trellis quantisation [boolean]
--xres Horizontal resolution [number] [default: 1.0]
--yres Vertical resolution [number] [default: 1.0]
Misc. Options
--help, -h Show help [boolean]
Expand Down Expand Up @@ -128,4 +132,4 @@ See the [Changelog](./CHANGELOG.md) for a list of changes.
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1 change: 0 additions & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ const cli = yargs
.command(require('../cmd/output'))
.command(require('../cmd/colour-manipulation/tocolourspace'))
.command(require('../cmd/operations/trim'))
.wrap(100)

// Override `cli.parse` to handle global options.
const originalParse = cli.parse
Expand Down

0 comments on commit 53a7761

Please sign in to comment.