New display option: +progress
Bob Friesenhahn <[email protected]> Sun, 16 May 2004 12:02:13 -0500 (CDT)
| Newsgroups | gmane.comp.video.graphicsmagick.tools |
|---|---|
| Message-ID | <Pine.GSO.4.44.0405161152200.21890-100000@scooby.simplesystems.org> |
The latest GraphicsMagick snapshot and CVS now include the gm display
option +progress. This option disables the progess indicator and
hourglass cursor for a very "clean" look or for automated X11 image
display applications where these user-interface elements are
distracting. The hourglass cursor will still appear if an operation
is requested other than image display (e.g. image processing).
As an example, you may use a script like this under Unix to display a
series of images via remote control, and without progress indicator or
busy cursor:
#!/bin/sh
# Start display program in background
gm display +progress -geometry '+0+0' initial.jpg &
display_pid=${!}
# Display a series of images in remote mode
for file in /foo/*.jpg
do
gm display -remote $file
sleep 5
done
# Stop background display program
kill -TERM $display_pid
Bob
======================================
Bob Friesenhahn
[email protected]
http://www.simplesystems.org/users/bfriesen
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click