Compare commits

...

2 commits

Author SHA1 Message Date
9ba0a07908 New pics: 2022-03-autrans 2022-03-03 20:55:21 +01:00
eddaffdf8a Pictures: move to directories 2022-03-03 20:54:51 +01:00
21 changed files with 25 additions and 15 deletions

View file

@ -8,26 +8,37 @@ georgespics:
osm: https://www.openstreetmap.org/#map=14/45.1612/5.9444 osm: https://www.openstreetmap.org/#map=14/45.1612/5.9444
date: 2021-06-27 date: 2021-06-27
pics: pics:
- path: 2021-06-pra1.jpg - path: 2021-06-pra/pra1.jpg
- path: 2021-06-pra2.jpg - path: 2021-06-pra/pra2.jpg
- path: 2021-06-pra3.jpg - path: 2021-06-pra/pra3.jpg
- path: 2021-06-pra4.jpg - path: 2021-06-pra/pra4.jpg
- name: Pen-Bé, Bretagne - name: Pen-Bé, Bretagne
osm: https://www.openstreetmap.org/#map=14/47.4205/-2.4575 osm: https://www.openstreetmap.org/#map=14/47.4205/-2.4575
date: 2021-07-05 date: 2021-07-05
pics: pics:
- path: 2021-07-penbe1.jpg - path: 2021-07-penbe/penbe1.jpg
- path: 2021-07-penbe2.jpg - path: 2021-07-penbe/penbe2.jpg
- name: Mourèze, Hérault - name: Mourèze, Hérault
osm: https://www.openstreetmap.org/#map=15/43.6191/3.3517 osm: https://www.openstreetmap.org/#map=15/43.6191/3.3517
date: 2021-07-27 date: 2021-07-27
pics: pics:
- path: 2021-07-moureze1.jpg - path: 2021-07-moureze/moureze1.jpg
- name: Dent de Crolles, Alpes - name: Dent de Crolles, Alpes
osm: https://www.openstreetmap.org/#map=15/45.3105/5.8559 osm: https://www.openstreetmap.org/#map=15/45.3105/5.8559
date: 2021-11-13 date: 2021-11-13
pics: pics:
- path: 2021-11-crolles1.jpg - path: 2021-11-crolles/crolles1.jpg
- path: 2021-11-crolles2.jpg - path: 2021-11-crolles/crolles2.jpg
- path: 2021-11-crolles3.jpg - path: 2021-11-crolles/crolles3.jpg
- name: Autrans, Alpes
osm: https://www.openstreetmap.org/#map=15/45.1763/5.5431
date: 2022-03-01
pics:
- path: 2022-03-autrans/autrans1.jpg
- path: 2022-03-autrans/autrans2.jpg
- path: 2022-03-autrans/autrans3.jpg
- path: 2022-03-autrans/autrans4.jpg
- path: 2022-03-autrans/autrans5.jpg
- path: 2022-03-autrans/autrans6.jpg
- path: 2022-03-autrans/autrans7.jpg
--- ---

View file

@ -1,4 +1,4 @@
FULLPICS = $(wildcard full/*.jpg) FULLPICS = $(shell find full -name '*.jpg')
THUMBS = $(patsubst full/%.jpg,thumb/%.jpg,$(FULLPICS)) THUMBS = $(patsubst full/%.jpg,thumb/%.jpg,$(FULLPICS))
THUMB_DIM = 400 THUMB_DIM = 400
@ -7,10 +7,8 @@ CONVERT_OPTIONS = -quality 75 -strip -interlace Plane +repage
all: $(THUMBS) all: $(THUMBS)
thumb: thumb/%.jpg: full/%.jpg
mkdir -p thumb mkdir -p "$$(dirname "$@")"
thumb/%.jpg: full/%.jpg thumb
convert "$<" \ convert "$<" \
-resize '$(THUMB_DIM)x$(THUMB_DIM)^' \ -resize '$(THUMB_DIM)x$(THUMB_DIM)^' \
-gravity "$$(./gravityof.sh "$<")" \ -gravity "$$(./gravityof.sh "$<")" \

View file

Before

Width:  |  Height:  |  Size: 494 KiB

After

Width:  |  Height:  |  Size: 494 KiB

View file

Before

Width:  |  Height:  |  Size: 474 KiB

After

Width:  |  Height:  |  Size: 474 KiB

View file

Before

Width:  |  Height:  |  Size: 518 KiB

After

Width:  |  Height:  |  Size: 518 KiB

View file

Before

Width:  |  Height:  |  Size: 261 KiB

After

Width:  |  Height:  |  Size: 261 KiB

View file

Before

Width:  |  Height:  |  Size: 555 KiB

After

Width:  |  Height:  |  Size: 555 KiB

View file

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

View file

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

View file

Before

Width:  |  Height:  |  Size: 567 KiB

After

Width:  |  Height:  |  Size: 567 KiB

View file

Before

Width:  |  Height:  |  Size: 497 KiB

After

Width:  |  Height:  |  Size: 497 KiB

View file

Before

Width:  |  Height:  |  Size: 567 KiB

After

Width:  |  Height:  |  Size: 567 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

View file

@ -0,0 +1 @@
South-East