mirror of
https://github.com/unitedstates/congress-legislators.git
synced 2025-12-19 09:50:37 -05:00
also moving photo script
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Script to resize congress photos into the sizes we typically use.
|
||||
# Run this from a directory with photos in it, named by bioguide ID.
|
||||
# The photos will be resized and placed into directories named after the size, retaining their original filename.
|
||||
|
||||
for SIZE in "40x50" "100x125" "200x250"
|
||||
do
|
||||
mkdir $SIZE;
|
||||
for f in *.jpg
|
||||
do
|
||||
convert $f -resize $SIZE^ -gravity center -extent $SIZE $SIZE/$f;
|
||||
done
|
||||
done
|
||||
Reference in New Issue
Block a user