sort by months + better montage

This commit is contained in:
Johann Dreo 2025-08-03 23:45:37 +02:00
commit eada7733d4
9 changed files with 4 additions and 4 deletions

View file

Before

Width:  |  Height:  |  Size: 261 KiB

After

Width:  |  Height:  |  Size: 261 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 437 KiB

After

Width:  |  Height:  |  Size: 437 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 5.3 MiB

After

Width:  |  Height:  |  Size: 5.3 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 361 KiB

After

Width:  |  Height:  |  Size: 361 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 19 MiB

After

Width:  |  Height:  |  Size: 19 MiB

Before After
Before After

View file

@ -1,6 +1,6 @@
##### Variables #####
SVGs := $(shell find . -type f -name "*.svg" -not -path "./sources/*")
SVGs := $(shell find . -type f -name "*.svg" -not -path "./sources/*" | sort)
# $(info SVGs: $(SVGs))
SIGHTS := $(SVGs:.svg=.png)
@ -25,10 +25,10 @@ clean:
#### Galleries #####
gallery_sights.png: $(SIGHTS)
montage $(SIGHTS) -geometry 512 -border 10 -frame 4 -mattecolor black -shadow $@
montage -label '%[Title]\n© %[Author] — %[Creation Time] — %[Copyright]' $(SIGHTS) -title "Hanafuda by nojhan" -geometry 1024 -borderwidth 20 -frame 7 -shadow -tile 1x $@
gallery_cards.png: $(CARDS)
montage $(CARDS) -geometry 256 -border 10 -frame 4 -mattecolor black -shadow -tile 4x $@
montage $(CARDS) -title "Hanafuda by nojhan" -geometry 256 -borderwidth 10 -frame 4 -mattecolor black -shadow -tile 4x $@
##### Sights #####

2
README
View file

@ -1,3 +1,3 @@
Set of Hanafuda cards in the form of 12 pictures in the SVG format.
Run export.sh to export the large pictures and the cards in PNG files.
Run `make` to export the large pictures and the cards in PNG files.