[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Resizing images (Gimp???)
On Thu, Jun 27, 2002 at 12:43:00PM -0500, Brune, Charlie wrote:
> I have many fantastic digital images of my vacation. Unfortunetly,
> they're huge. 2048x1536.
>
> Is there any way to tell Gimp (or some other program) to go through a
> directory and resize all of these pictures to 640x480. (Yes, I'd make
> copies first, of course!) 8-)
for file in *.jpg ; do
newfile="`echo "$file" | sed 's/\.jpg$/-640x480&/'`"
jpegtopnm "$file" | pnmscale -xysize 640 480 | pnmtojpeg > "$newfile"
done
> I want to make a web page of the pics, but don't want the death
> threats that go along with such big pics.
Kara's thing may be your best bet.
Steve
--
steve@silug.org | Southern Illinois Linux Users Group
(618)398-7360 | See web site for meeting details.
Steven Pritchard | http://www.silug.org/
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.