By Kyle Rankin
Book Price: $29.95 USD
£20.95 GBP
PDF Price: $23.99
Cover | Table of Contents | Colophon
$ import -window root screenshot.png
-window root argument tells import to take a picture of the entire screen. If you type:$ import screenshot.png
$ sleep 5; import -window root screenshot.png
$ convert image.bmp image.png
$ for i in *.bmp; do j=`echo $i | sed -e 's/\.bmp/\.jpg/'`; \
convert $i $j; done;
-thumbnail. This argument tells convert to create a thumbnail of the input image with the specified geometry. Thumbnails are scaled-down versions of the original, which means the height-to-width ratio is automatically preserved, so you need to specify only one dimension for the conversion. For instance, to create a thumbnail that has a width of 160 pixels, type:$ convert -thumbnail 160 image.jpg thumbnail.jpg
x:$ convert -thumbnail x160 image.jpg thumbnail.jpg
$ for i in *.jpg; do convert -thumbnail 160 $i thumb-$i; done;
convert commands in the script. So, to create a mid-sized thumbnail with a width of 400 pixels and a small thumbnail with a width of 160 pixels, type:
$ for i in *.jpg; do convert -thumbnail 400 $i mid-$i; \
convert -thumbnail 160 $i thumb-$i; done;
convert arguments with your commands. For instance, to add a 10-pixel beveled grey frame around the mid-size image, and a 2-pixel grey frame around the small thumbnail, type:
$ for i in *.jpg; do convert -thumbnail 400 -frame 10x10+2x2 \
-mattecolor "#999999" $i mid-$i; convert -thumbnail 160 -frame 2x2 \
-mattecolor "#999999" $i thumb-$i; done;-delay option, which specifies, in milliseconds, how long to wait between each image change. You can use the animate tool from the ImageMagick suite to test your animation. To see what your animation would look like with a one-second delay on a directory full of GIF images, type:
$ animate -delay 100 *.gif
convert command. To convert a directory of GIF files into a single animated GIF with one second between frames, type:$ convert -delay 100 *.gif animated.gif
$ display animated.gif
$ convert -delay 100 *.jpg animated.gif
tail on your /var/log/syslog or /var/log/messages log file as root, and then plug in the device. You should see output something like this:http://www.go-mono.com. The latest source code to f-spot can be found at its homepage at http://www.gnome.org/projects/f-spot. f-spot is still relatively young, so updates are common. But even at its young age, f-spot already has some powerful features.kuickshow from the command line. The KuickShow interface is relatively simple. The toolbar along the top provides you with file system navigation tools and buttons to launch the slideshow and configure KuickShow itself (see Figure 1-4). The main section of the window along the bottom is a basic file system browser that lets you navigate to the section of the file system containing your images. Navigate to your images directory and then click the Start Slideshow icon on the toolbar, click File → Start Slideshow, or hit F2 to start your slideshow. KuickShow will display the images one by one, with a delay between images. Hit Esc to exit the slideshow.Jan 19 15:46:27 clover kernel: hub.c: new USB device 00:02.0-1, assigned address 4 Jan 19 15:46:27 clover kernel: WARNING: USB Mass Storage data integrity not assured Jan 19 15:46:27 clover kernel: USB Mass Storage device found at 4 Jan 19 15:46:31 clover usb.agent[10819]: kernel driver usb-storage already loaded
0x140001d, comes from the fifth line in the output below:
$ xwininfo
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x140001d "making movies.sxw - OpenOffice.org 1.1.0 "
Absolute upper-left X: 4
Absolute upper-left Y: 18
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 920
Height: 630
Depth: 16
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x1400001 (installed)
Bit Gravity State: ForgetGravity
Window Gravity State: StaticGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +4+18 -100+18 -100-120 +4-120
-geometry 920x630+4+18
http://www.redhat.com/advice/speaks_80mm.html). As a result, if you use Red Hat or a derivative such as Fedora or CentOS, you will need to go through an additional step to install MP3 support.http://dag.wieers.com/home-made/apt) for everything.root, and type the following:
# rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
greenfly@napoleon:~$ esd -promiscuous -tcp -public -port 16001
greenfly@moses:~$ esdplay --server="ip_of_server:16001" sample.wav
ip_of_server with the IP address of the esd server. The audio file will play back on the remote server, so be sure to adjust the mixer on that machine so that you can hear it. This works fine on an application-by-application basis, but you can also set an environment variable so that any EsounD-compatible applications you start will output to the remote server. Type the following in a terminal:
greenfly@moses:~$ export ESPEAKER="ip_of_server:16001"
z, x, c, v, and b, respectively. Notice how all of the keys on the keyboard line up in the same order as on the interface. As a track is playing, you can control the volume and balance directly from the main window. To skip ahead in a track, just click and drag the long bar that slowly progresses along the window. The main window also has checkboxes so that you can toggle shuffle and repeat modes for the playlist.http://www.xmms.org/) and Beep Media Player (http://beepmp.sourceforge.net/).http://www.rhythmbox.org and compile and install it yourself.