http://imagej.273.s1.nabble.com/Macro-for-ImageResize-tp3686379p3686385.html
> -----Ursprüngliche Nachricht-----
> Von: ImageJ Interest Group [mailto:
[hidden email]] Im Auftrag von
> Carnë Draug
> Gesendet: Freitag, 19. November 2010 15:02
> An:
[hidden email]
> Betreff: Re: Macro for ImageResize
>
> On 19 November 2010 12:16, Frank Walter <
[hidden email]> wrote:
> > Michael,
> >
> > thank you very much. This works very easy, e.g.:
> >
> > convert * -resize '800x600' output.jpg
> >
> > or
> >
> > convert * -resize '800x600^' output.jpg
> >
> > if I want to keep the bigger size as minimum. Only question (off topic
> > because imagemagick):
> >
> > how can I keep the original names?
> >
> > Thank you.
> >
> > Regards, franc
>
> Hi Frank,
>
> I wrote some time ago a perl script to do exactly that using image
> magick. I adjusted them for your needs. One of them adjusts the size
> to a certain ratio while the other to a specific value for width and
> height. They take as arguments a list of directories and save the
> images with exactly the same name. You'll need the package perlmagick
> installed on ubuntu.
>
> adjust by ratio
http://pastebin.com/6P61bQyR> adjust by size
http://pastebin.com/DAXmJyZ5>
> Carnë