1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| $ goimgrz -h
Usage of goimgrz:
-crawler_url string
the crawler url used by girls download the http images and resize only matched image files
-dir string
scan the dir where image inside to be resize
-dst string
the output dir where image after resize store (default "/tmp/goimgrz")
-height uint
set resize image's height
-img string
the local image file which to be resize
-imgs string
local image files which to be resize, separated by ','
-interp uint
the provided interpolation functions support (from fast to slow execution time), 0:NearestNeighbor,1:Bilinear,2:Bicubic,3:MitchellNetravali,4:Lanczos2,5:Lanczos3
-name string
using shell pattern to filter image, like *.png (default "*")
-quality int
set resize image's quality percent (default 75)
-size string
using file size to filter image, like +200k
-url string
the image's http(s) url to be resize, image resource(url|urls|img|imgs|dir) at least need set one
-urls string
image's http(s) urls to be resize, separated by ','
-verbose
append water image
-water_img string
append water image
-width uint
set resize image's width, default width and height is 0 represent origin image
|