On Nov 20, 2007 10:06 AM, Anthony Thyssen <[EMAIL PROTECTED]> wrote: > "Steven Woody" on wrote... > | hi, > | > | i want to resize batch of pictures to a smaller size. the rule is > | every picture's longer edge should be reduce to 800 pixels, and the > | another edge keep the aspect ratio. how can i do this using `convert' > | command? i found the problem is how to get know what ( W or H ) is > | the image's longer edge. > | > | thanks. > | > Just resize to 800x800 > > Im will preserve aspect ratio and fit the image in the box. As such the > longest edge will become 800 pixels regardless of orientation.
thanks for the solution. i don't want to use `identify' to discover the edge length info before resizing since it will take very long time on a large file. you method should work! thanks. > > It is setting the smallest edge to some specific dimention, that is not > available directly in IM as an option. > > Prehaps this can be made a +resize option ;-) > > > Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> > ----------------------------------------------------------------------------- > "We've heard that a million monkeys at a million keyboards could produce > the "Complete Works of Shakespeare"; now thanks to the Internet, we know > that this in NOT true." -- Robert Wilensky, University of Califonia > ----------------------------------------------------------------------------- > Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ > _______________________________________________ > Magick-users mailing list > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users > -- woody then sun rose thinly from the sea and the old man could see the other boats, low on the water and well in toward the shore, spread out across the current. _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
