A bitmap is basically a map of bits (surprise, surprise) --- but when taken altogether and viewed through bitmap programs, the patterns of bits form a picture. Sometimes the pictures can be pretty impressive. If you have had any experience with painting programs (such as Mac Paint, Super Paint, or such), then you will find the format reassuringly similar.
One note about large bitmaps: they take up a lot of space in your account. It's a good idea to keep your large bitmaps compressed (type compress <filename> to compress, uncompress <filename> to uncompress) to save space when you aren't working on them. Luckily, there are many ways to view even compressed bitmap files.
Many different bitmap programs exist here and there. I suggest the following:
% attach x11r5
% /mit/x11r5/$bindir/bitmap
(The afs path is: /afs/athena/astaff/project/x11r5/$bindir/bitmap.)
Another all around good program is xpaint. First attach graphics, and then do:
% /mit/graphics/$bindir/xpaint
(The afs path is: /afs/athena/contrib/graphics/bin/$bindir/xpaint)
Some techniques you might want to try:
If you just want to put up one copy of the bitmap and be able to click it away, use showbitmap. You can add consult and then do showbitmap -rv <bitmap name>.
(The path is /mit/consult/$bindir/showbitmap.)
The -rv flag merely inverts the bitmap coloration; for some reason, showbitmap puts up bitmaps inverted on some machines, and thus the -rv is necessary to see the original form.
Another way to put up one copy of a bitmaps, even compressed ones, is to use:
% /mit/graphics/$bindir/xloadimage <bitmap name>
To put a bitmap up on your root screen (the background), use:
% xsetroot -bitmap <bitmap name>
This will place a tile pattern of your bitmaps onto your root screen. If you're using compressed bitmaps, you can use the following to do the same thing:
% /mit/graphics/$bindir/xloadimage -onroot <bitmap name>
#!/bin/csh -f set pictures = `ls /mit/rei/bitart/Backgrounds` set num = 1 while ($num) foreach i ($pictures) xloadimage -onroot /mit/rei/bitart/Backgrounds/$i >& /dev/null sleep 60 end end
(Note: this works only on uncompressed bitmaps.)
#!/bin/csh -f set pictures = `ls /mit/rei/bitart/IS` set num = 1 while ($num) foreach i ($pictures) xsetroot -bitmap /mit/rei/bitart/IS/$i >& /dev/null end end
Note: the above program does not have a sleep time because it was designed to produce an ``animation'' by throwing up slightly different bitmaps one after the other.
In your homepage file (<filename>.html), put in something like the following:
<IMG SRC="http://www.mit.edu:8001/afs/athena.mit.edu/user/r/e/rei/bitart/drae">
xloadimage -onroot ~/bitart/Backgrounds/Respite &
/mit/sipb/$bindir/xscreensaver -geometry -25-55
If you want a screensaver to start up, you should also add:
/mit/sipb/$bindir/xscreensaver -geometry -25-55
Of course, substitute your own bitmap and pathname in! Then, to customize your screensaver icon, put something like the below in your .Xresources file:
xscreensaver*icon.bitmap:/mit/rei/bitart/drae
xscreensaver*float.bitmap:/mit/rei/bitart/dolphin
xscreensaver*useBackground:true
The float.bitmap section tells xscreensaver to use a different bitmap for when the icon floats around on the screen.
% add consult % showbitmap <bitmapname> & % xdpr -P
\hspace*{1mm} \vspace{2cm} \epsfbox{filename.ps}
One last thing: you will have to attach sipb and then do
% setenv TEXINPUTS .:/mit/sipb/lib/tex/macros:/usr/athena/lib/tex/macros
before trying to latex your document.
% xsetroot -display
Places to find neat bitmaps include:
/mit/rei/bitart/ /mit/rei/bitart/Backgrounds/ /afs/athena/user/r/j/rjbarbal/Bitmaps /usr/lib/X11/bitmaps/ /mit/sipb/lib/bitmap/ /mit/dcctdw/Bitart/ /mit/dcctdw/Bitart.more/ /mit/yandros/stuff/graphics/
If you have questions about anything in this document, or find new bitmap programs, feel free to email me at rei@mit.edu, or stop by SIPB.