[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resizing images (Gimp???)



/*

I'm too lazy to look up the precise directions, but you can do macros in gimp, and execute them on an entire 
directory (Similar to photoshop's, but better as i recall.)

--Jamon
*/

6/27/2002 3:35:43 PM, Steven Pritchard <steve@silug.org> wrote:

>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.
>




-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.