> Date: Sun, 16 Apr 2006 15:19:48 +0800
> From: "steven woody" <[EMAIL PROTECTED]>
> Sender: [EMAIL PROTECTED]
> 
> hi,
> 
> i have a lot of pics in a directory. now i like to use 'display'
> command tool to see them on my screen one by one ( just like what xv
> can do ).  but the problem of  the 'display' command is that it can
> not auto-scaling my pic to fit the screen ( of course, while keeping
> aspect ratio ).  how can i tweak that?

display(1) can handle this with the maximum size3 operator, '>".
`display -geometry +0+0 -resize $size\\\> $display_list``

The -geometry places te image at the top-left of the screen. -resize
scales the image to be no larger than $size while maintaining aspect
ratio. $display_list is a list of the files to be displayed. Add -delay
to make the images update automatically or use the space bar to move
from one image to the next.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]                       Phone: +1 510 486-8634
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to