View previous topic :: View next topic |
Author |
Message |
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Fri Mar 07, 2008 10:33 am Post subject: imagemagick convert to fixed height |
|
|
Hi.
Does anyone know how to convert images to a fixed height of 137 pixels with imagemagick? |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Fri Mar 07, 2008 11:01 am Post subject: |
|
|
does:
convert -resize thesizeyouwant
or convert -geometry thesizeyouwant
work? _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
LemurFromTheId n00b
Joined: 22 Apr 2005 Posts: 64 Location: Finland
|
Posted: Sat Mar 08, 2008 12:51 pm Post subject: |
|
|
More precisely, -resize x137 is probably the option you're looking for.
E.g. mogrify -resize x137 *.jpeg |
|
Back to top |
|
|
mjf55 Guru
Joined: 25 Aug 2007 Posts: 372
|
Posted: Sun Mar 09, 2008 6:13 am Post subject: |
|
|
So I would suggest :
convert -resize x137! old.jpg new.jpg
Note the ! . The x/y deminsion ratio will change.
or the mogify command listed prior , again with the ! _________________ Mark
No longer a n00b, but still a 'Kool Kid' wannabe |
|
Back to top |
|
|
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Mon Mar 10, 2008 8:42 am Post subject: |
|
|
trae wrote: | More precisely, -resize x137 is probably the option you're looking for.
E.g. mogrify -resize x137 *.jpeg |
mogrify seems to do the trick! Thanks. |
|
Back to top |
|
|
|