![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Art & Design Discuss various aspects of Ubuntu and Art here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Spilled the Beans
![]() Join Date: Mar 2006
Beans: 13
|
imagemagick resize help
i am trying to resize a load of images so they are no more than 150x150px
i am currently using Code:
convert -resize 150x150\> *.jpg lastfilename.jpg.1 lastfilename.jpg.2 etc how can i get it to keep its original file name? or even go back over to rename it without the numbers on the end? |
|
|
|
|
|
#2 |
|
Skinny Extra Sweet Ubuntu
![]() |
Re: imagemagick resize help
Hi there,
The behaviour you describe is what you would expect, bearing in mind that "*.jpg" would be expanded by Bash into a list of matching filenames, the last of which convert will use as its output file. (See convert's man page.) You could try using find, or a for loop, so each convert command would only have two filenames in it. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|