[comp.windows.x] Colored background for X11R3

ironduke@fuhainf2.uucp (12/14/90)

Hi there !

a simple problem:

is it possible to read a 16-color-picture into the X-windows-background.

it's easy to use blach/white pictures as background, using
'setroot -bitmap ..', but very slow. 

perhaps anybody constructed a better solution.

i use windows 11 Release 3 on a 386-AT with interactive-unix release 2.0.2.

thanks in advance

etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) (12/19/90)

In article <597@fuhainf.UUCP>, ironduke@fuhainf2.uucp writes:
|> 
|> Hi there !
|> 
|> a simple problem:
|> 
|> is it possible to read a 16-color-picture into the X-windows-background.
|> 
|> it's easy to use blach/white pictures as background, using
|> 'setroot -bitmap ..', but very slow. 
|> 
|> perhaps anybody constructed a better solution.
|> 
|> i use windows 11 Release 3 on a 386-AT with interactive-unix release 2.0.2.
|> 
|> thanks in advance

It is always possible.  You can always create a pixmap from an image
and use XSetWindowBackgroundPixmap or whatever it is.

If it is slow to use xsetroot, however,  (which I entirely believe
given the type of machine you described), I doubt that anything would
be faster.
--
					Eric Taylor
					Baylor College of Medicine
					etaylor@wilkins.bcm.tmc.edu
					(713) 798-3776

cristy@eplrx7.uucp (John Cristy) (12/19/90)

In article <597@fuhainf.UUCP> ironduke@fuhainf2.uucp writes:
>is it possible to read a 16-color-picture into the X-windows-background.

There are at least three program that will do this: xloadimage, xv, and
ImageMagick all on in the contrib directory of expo.lcs.mit.edu.
--
The UUCP Mailer