On Tue, 2002-11-26 at 13:34, Kevin Linux account wrote:
> Would be any different for Mandrake, is there such path in Mandrake
The path "/usr/share/backgrounds" is non-standard but is common.
> What about file formats I take it I can not use bitmaps
[I can only answer for GNOME, but I suspect KDE would be similar.]
"BMP" files [1] are able to be used as a background, but you probably
want to convert it to a PNG for a few of reasons.
o PNG files are smaller as the are compressed,
o PNG files are quicker to display, and [2]
o PNG files have translucency.
Generally all raster images, except for GIF, can be used as a
background, but you should stick with PNG or JPEG. To convert a BMP to
a PNG, (from the command line) you can say the following
convert foo.bmp foo.png
If you have a bunch of files, you can convert them en mass as follows
(type each line in and press <enter>)
for i in *.bmp
do
convert $i ${i%.bmp}.png
done
[1] Most picture formats (TIFF, BMP, GIF, JPEG, PNG) are "bitmaps" (or
"raster images", as they should be known). A "Windows Bitmap" (BMP)
is one type of bitmap file :)
Technically you could have a bitmap that did not describe an image.
Unix file permissions are an example.
[2] PNG files use LZ77 (g-zip) encoding internally, which has the
peculiar propriety of being faster, or as fast, as reading the
uncompressed file.
--
Michael JasonSmith <[EMAIL PROTECTED]>