summary refs log tree commit diff
path: root/www
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2024-06-10 16:58:02 -0400
committerJune McEnroe <june@causal.agency>2024-06-10 16:58:02 -0400
commit2d87b53a18d48e9d8346c8b352aea5f2096a459d (patch)
treeeb6b02cdca0cf1dd49d0d643a5a34a9e288f73e4 /www
parentAdd The Girl Who Was Convinced... (diff)
downloadsrc-2d87b53a18d48e9d8346c8b352aea5f2096a459d.tar.gz
src-2d87b53a18d48e9d8346c8b352aea5f2096a459d.zip
Resize using target pixel counts for consistency
This will resize film scans to about the same size as for the digital
photos.
Diffstat (limited to 'www')
-rw-r--r--www/photo.causal.agency/generate.sh4
1 files changed, 2 insertions, 2 deletions
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
 }