← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #79025]: Resize my pictures

 

Question #79025 on yelp in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/79025

actionparsnip proposed the following answer:
you can use gthumb if you like a pretty gui, if you have many pictures
you can do it at command line with imagemagick

convert -geometry  320x240 filename output_filename

will change the image 'filename' to 320x240 to create a file named
'output_filename'

you can even change from jpg to png using convert

convert input.jpg output.png

You can even script it with:

for x in $(ls)
do 
convert -geometry 320x240 $x new-$x

will create resized files of all the filenames found in the output of ls
to be the new size. You can set any size you like. If you have 1 or 2
files to do then use gthumb, if you have many then a gui tool will take
FOREVER whras a script will work away while you play on flash games

command line gets things done better   =D

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.