File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 22
33Command-line utility that slices an input image into segments according to specified width and height, and outputs those segments into a folder.
44
5+ ## Install
6+
7+ - ` git clone https://github.com/thinknathan/node-image-slice `
8+ - ` npm i `
9+ or
10+ - ` yarn `
11+
512## Usage
613
714` node slice.cjs <filename> <width> [height] `
Original file line number Diff line number Diff line change 1717 "prettier" : " prettier \" ./**/*.{cjs,md,json}\" --write"
1818 },
1919 "devDependencies" : {
20- "jimp" : " ~0.22.10" ,
2120 "prettier" : " ^3.1.1"
21+ },
22+ "dependencies" : {
23+ "jimp" : " ~0.22.10"
2224 }
2325}
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ isomorphic-fetch@^3.0.0:
362362 node-fetch "^2.6.1"
363363 whatwg-fetch "^3.4.1"
364364
365- jimp@^ 0.22.10 :
365+ jimp@~ 0.22.10 :
366366 version "0.22.10"
367367 resolved "https://registry.yarnpkg.com/jimp/-/jimp-0.22.10.tgz#2cc3e265a99cdbe69ec60ddd57cbcde6a6cf0519"
368368 integrity sha512-lCaHIJAgTOsplyJzC1w/laxSxrbSsEBw4byKwXgUdMmh+ayPsnidTblenQm+IvhIs44Gcuvlb6pd2LQ0wcKaKg==
You can’t perform that action at this time.
0 commit comments