From 2d87b53a18d48e9d8346c8b352aea5f2096a459d Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 10 Jun 2024 16:58:02 -0400 Subject: Resize using target pixel counts for consistency This will resize film scans to about the same size as for the digital photos. --- www/photo.causal.agency/generate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www') diff --git a/www/photo.causal.agency/generate.sh b/www/photo.causal.agency/generate.sh index 6d6255d4..d602d089 100644 --- a/www/photo.causal.agency/generate.sh +++ b/www/photo.causal.agency/generate.sh @@ -15,14 +15,14 @@ resize() { preview() { local photo=$1 local preview=preview/${photo##*/} - resize $photo 25% static/$preview + resize $photo 1500000@ static/$preview echo $preview } thumbnail() { local photo=$1 local thumbnail=thumbnail/${photo##*/} - resize $photo 5% static/$thumbnail + resize $photo 60000@ static/$thumbnail echo $thumbnail } -- cgit 1.4.1