- Added
--minAmplitude
and--precision
blur options. - Updated
sharp
dependency.
- Added
hbitdepth
,miniswhite
options toheif
command. - Added
lineArt
option totrim
command. - Updated
sharp
dependency (requiring dependency to bump Node to 18.17+). - Updated dependencies.
- Exit process when there are no input files (#83).
- Added
unflatten
command. - Added
extendWith
option toextend
command. - Added
ignoreIcc
option tocomposite
command. - Added
interFrameMaxError
andinterPaletteMaxError
output options. - Added
lower
andupper
options tonormalise
command. - Added
preset
output option. - Added
reuse
alias tooptimise
andoptimize
output options. - Updated
sharp
dependency.
- Fixes bug with AVIF filename formatting (#28).
- Recategorized top-level options under Global, Input, Output, and Optimization Options.
- Added
--subifd
andunlimited
input options. - Updated
--metadata
(previously--withMetadata
) input option to accept more granular options. - Expand
--animate
,--failOn
, and--limitInputPixels
fromcomposite
command to top-level.
- Updated
sharp
dependency. - Updated
yargs
dependency. - Added
affine
command. - Added
--background
,--basename
, and--skipBlanks
totile
command. - Removed
--density
fromjoinChannel
command. - Renamed
--band
to--channel
(extractChannel
command). - Updated
composite
command to accept multiple images (#73). - Updated
--kernel
option usage inconvolve
command. - Updated
--offset
option usage inlinear
command. - Updated
matrix
positional usage inrecomb
command.
- Added
--background
when trimming images. - Added
--minSize
and--mixed
. - Added
--reoptimise
. - Updated TIFF compression options.
- Updated
sharp
dependency - which now requires Node.js >= 14.15.
- Fixed bug where images were always formatted as HEIF (#68).
- Added AVIF support.
- Added GIF support.
- Added
clahe
command. - Added
pipelineColourspace
command. - Added
--alpha
flag toensureAlpha
andnegate
. - Added
--center
. - Added
--id
. - Added
--lightness
. - Added
--mozjpeg
. - Added
--resolutionUnit
. - Added
--timeout
. - Added
--withoutReduction
. - Added
--x1
,--y2
,--y3
. - Drop Node.js 10 support, now requires Node.js >= 12.22.
- Renamed
--reductionEffort
option to--effort
. - Replaced
--squash
by--bitdepth
. - Updated default
--compressionLevel
. - Updated dependencies.
- Removed
--limitInputPixels
and--sequentialRead
. - Added
--limitInputPixels
when compositing images. - Updated
sharp
dependency (adding support for Apple M1) (#61).
- Added
alpha
band option toextractChannel
. - Added
density
,level
,page
, andpages
to input options. - Added
iiif
layout option to tile-based output. - Updated
sharp
dependency.
- Fixed bug introduced in #24 where tile-based output was not working (#41).
- Removed path normalization for input- and output options to support URI templates (#40).
- Fixed bug where resize example was missing width (#35).
- Resizing without specifying height will now auto-scale (#36).
- Updated
sharp
dependency (now requires Node.js >= 10).
- Fixed bug where output directory was invalid (#26).
- Added support for glob input (#27).
- Fixed bug where options were applied to HEIF, even if libheif was not installed (#25).
- Replaced
url-template
dependency by regex replacement (#26).
- Added
--tileBackground
option. - Added support for same file for input and output (#24).
- Replaced
tempfile
withtempy
dependency. - Updated
sharp
dependency.
- Added support for HEIF images.
- Added
--hcompression
option. - Added
--premultiplied
option. - Added
--reductionEffort
and--smartSubsample
options. - Fixed bug with output directories (#16).
- Removed
overlayWith
command. - Updated
fs-extra
,mocha
,sharp
,sinon
, andstandard
dependencies.
- Added
composite
command. - Added
modulate
command. - Deprecated
overlayWith
command. - Increased required version to Node.js 8.
- Updated
fs-extra
,mocha
,nyc
,sharp
,sinon
, andtempfile
dependencies (#18).
- Added
--colors
,--dither
, and--palette
options. - Added
ensureAlpha
command. - Added exit code 1 for errorneuos commands (#15).
- Updated
sharp
dependency.
- Added
--background
option toresize
androtate
commands. - Added
--fit
and--position
options. - Added
--factorOut
option. - Added
--pyramid
,--tileWidth
, and--tileHeight
options. - Added
extend
command. - Added
flatten
command. - Added
recomb
command. - Removed
--crop
,--ignoreAspectRatio
,--min
, and--max
options. - Removed
background
command. - Renamed
--tolerance
option to--threshold
. - Updated
sharp
andsinon
dependencies.
- Added
--depth
option. - Added
--quantisationTable
option. - Added removeAlpha command.
- Updated
nyc
,sharp
,sinon
,snazzy
,standard
, andyargs
dependencies.
- Added
--optimiseCoding
option. - Added
ccittfax4
compression option to TIFF output. - Added median command.
- Added tint command.
- Updated
fs-extra
,mocha
,nyc
,sharp
, andsinon
dependencies.
- Added linear command.
- Added
--angle
option to tile command. - Updated
sharp
,sinon
,snazzy
, andstandard
dependencies.
- Added
--fastShrinkOnLoad
(sharp
0.19.0). - Added gravity option to
--embed
. - Fixed bug with
--withoutEnlargement
(#11). - Fixed bug with URI templates on Windows (#8).
- Removed
--interpolator
and--centreSampling
resize options (sharp
0.19.0). - Updated default
--compressionLevel
and--predictor
(sharp
0.19.0). - Updated output paths to resolve only after parsing URI template (#9).
- Updated
fs-extra
,mocha
,nyc
,sharp
,sinon
, andyargs
dependencies.
- Updated
mocha
,sinon
, andyargs
dependencies.
- Updated
mocha
,nyc
, andsharp
dependencies.
/~https://github.com/vseventer/sharp-cli/compare/v1.4.0...v1.5.0
/~https://github.com/vseventer/sharp-cli/compare/v1.3.0...v1.4.0
- Added
--squash
(sharp
0.18.0). - Updated
fs-extra
,mocha
,nyc
,sharp
,sinon
,snazzy
,standard
, andyargs
dependencies.
/~https://github.com/vseventer/sharp-cli/compare/v1.2.0...v1.3.0
- Added
--compression
and--predictor
(sharp
0.17.3). - Added
--create
(sharp
0.17.3). - Updated
fs-extra
,nyc
,sinon
, andtempfile
dependencies.
/~https://github.com/vseventer/sharp-cli/compare/v1.1.0...v1.2.0
- Added support for URI templates.
- Replaced
chai
withmust
. - Updated
multiyargs
,sinon
, andstandard
dependencies.
/~https://github.com/vseventer/sharp-cli/compare/v1.0.1...v1.1.0
- Added
--alphaQuality
,--lossless
, andnearLossless
(sharp
0.17.2). - Removed
stream-to-buffer
as it caused errors when working with large files. Unfortunately, this means input and output cannot use the same file.
- Allow and prioritize
--input
, even if there is an input stream (i.e.process.stdin
). - Added
--optimise
shorthand for--optimiseScans
,--overshootDeringing
, and--trellisQuantisation
. - Abstracted multiple command parsing algorithm to
multiyargs
.
- Full rewrite.
- Enhancement: add
--toColorspace
. - Enhancement: update
sharp
(0.16.x
).
- Enhancement: add
--bandbool
. - Enhancement: add
--extractChannel
. - Enhancement: add
--overlayCutout
. - Enhancement: add
--overlayLeft
. - Enhancement: add
--overlayTile
. - Enhancement: add
--overlayTop
. - Enhancement: add
--trim
. - Enhancement: simplify verbose output.
- Enhancement: update dependencies.
- Enhancement: add
--kernel
. - Enhancement: rename
--interpolateWith
to--interpolator
.
- Bugfix: mark
--grayscale
as boolean option. - Enhancement: update dependencies, including
sharp
(0.15.x
).
- Enhancement: add
--tileContainer
.
- Enhancement: add
--extend
support. - Enhancement: add
--overlayGravity
support. - Enhancement: add
--tileLayout
support. - Enhancement: update dependencies, including
sharp
(0.14.x
).
- Enhancement: update dependencies, including
sharp
(0.13.x
).
- Enhancement: add
--negate
support. - Enhancement: add
--threshold
support. - Enhancement: update dependencies, including
sharp
(0.12.x
).
- Enhancement: process multiple files in batches of
25
.
- Enhancement: allow
rotate
without angle.
- Enhancement: allow same file for input and output.
- Initial version.