![]() |
|
Porsche, and the Porsche crest are registered trademarks of Dr. Ing. h.c. F. Porsche AG.
This site is not affiliated with Porsche in any way. Its only purpose is to provide an online forum for car enthusiasts. All other trademarks are property of their respective owners. |
|
![]() |
bd1308 |
![]()
Post
#1
|
Sir Post-a-lot ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 8,020 Joined: 24-January 05 From: Louisville,KY Member No.: 3,501 ![]() |
okay, so i made a bash script:
for img in 'ls *.jpg' do convert -resize 800x600 $img resized-$img done per some directions from this site.... seemed easy enough....well it doesnt work. the debian irc network people are no help at all... i'm trying to resize some pictures... |
![]() ![]() |
Gint |
![]()
Post
#2
|
Mike Ginter ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 16,098 Joined: 26-December 02 From: Denver CO. Member No.: 20 Region Association: Rocky Mountains ![]() ![]() |
LOL! Now that's entertainment. But the man makes a valid point. You bashin us on another forum?
Here's another tidbit. Get better at using google. I found a guy's script to do almost exactly what you asked for . It took me less than 60 seconds. Read this page. Or search for convert in the text. http://www.stokebloke.com/bash/index.php #!/bin/bash for img in *.jpg; do export height=`identify -format %h $img` export width=`identify -format %w $img` let ratio=$width/$height echo Image $img = [ $width x $height ] = $ratio if [ $ratio == 0 ] then echo Portrait 0 convert $img -geometry 600x800! -format jpeg -quality 80 $img else echo Landscape 1 convert $img -geometry 800x600! -format jpeg -quality 80 $img fi done This post has been edited by Gint: Aug 21 2005, 11:54 AM |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 14th July 2025 - 02:35 AM |
All rights reserved 914World.com © since 2002 |
914World.com is the fastest growing online 914 community! We have it all, classifieds, events, forums, vendors, parts, autocross, racing, technical articles, events calendar, newsletter, restoration, gallery, archives, history and more for your Porsche 914 ... |