Skip to content

Commit f2512ad

Browse files
committed
Prepare for release v2.8
1 parent c3fd8cc commit f2512ad

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

CHANGELOG

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
imgp v2.8
2+
2020-12-01
3+
4+
- option `-M` to specify minimum resolution of iamges to process
5+
- option `-H` (process hidden files) replaces `-d`
6+
- option `-d` (debug mode) replaces `-z`
7+
- option `-N` and `--nearest` (nearest neighbour for PNG) replace `--nn`
8+
- option `-P` (save JPEG as progressive) replaces `--pr`
9+
10+
-------------------------------------------------------------------------------
11+
112
imgp v2.7
213
2019-12-21
314

imgp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pad = '_IMGP' # output file suffix when --overwrite is unused
5454
png_ip = PIL.Image.ANTIALIAS # default interpolation for PNG
5555
fill_color = '#ffffff' # BG color to strip alpha channel
5656
init_time = time.time() # profile the total time taken
57-
_VERSION_ = '2.7' # current program version
57+
_VERSION_ = '2.8' # current program version
5858

5959
# Globals for multiprocessing
6060
pool = None

imgp.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH "IMGP" "1" "21 Dec 2019" "Version 2.7" "User Commands"
1+
.TH "IMGP" "1" "01 Dec 2020" "Version 2.8" "User Commands"
22
.SH NAME
33
imgp \- Resize, rotate JPEG and PNG images.
44
.SH SYNOPSIS
@@ -82,13 +82,13 @@ Do not process if image hres or vres matches specified hres or vres, or --res is
8282
.BI "-n, --enlarge"
8383
Enlarge smaller images. By default smaller images are not scaled if specified resolution is greater.
8484
.TP
85-
.BI "--nn"
85+
.BI "-N --nearest"
8686
Use nearest neighbour interpolation for PNG images instead of default antialias.
8787
.TP
8888
.BI "-p, --optimize"
8989
Optimize output images using PIL library optimization algorithm. Disabled by default.
9090
.TP
91-
.BI "--pr, --progressive"
91+
.BI "-P, --progressive"
9292
Save all output JPEG images as progressive, even if the source is not.
9393
.TP
9494
.BI "-q, --quality=" N

packagecore.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ commands:
77
install:
88
- make PREFIX="/usr" install DESTDIR="${BP_DESTDIR}"
99
packages:
10-
archlinux:
11-
builddeps:
12-
- make
13-
deps:
14-
- python-pillow
15-
- python
16-
container: "archlinux/base"
1710
centos7.5:
1811
builddeps:
1912
- make

0 commit comments

Comments
 (0)