#131423 xloadimage background

Package:
xloadimage
Source:
xloadimage
Description:
Graphics file viewer under X11
Submitter:
Georges Goncalves
Date:
2005-07-18 03:20:21 UTC
Severity:
normal
#131423#5
Date:
2002-01-29 15:37:47 UTC
From:
To:
Package: xloadimage
Version: 4.1-9

The "-background" option only works if the display window is the root
window... When using a X11 window the background around the image keeps
staying white whatever your efforts are to make it understand anything
else.

$ xloadimage -fullscreen -background black mypic.jpg

Using a 1024x768 screen and mypic.jpg being a 300x150 image for example.

xloadimage opens a fullscreen window as requested, displays the image
centered but the surrounding color remains white (as stated in the man page,this is the default color) instead of being black as the "-background"
option suggests.

I also tried "-border" as mentionned in the man page without any succes.

I'm using GNU/Linux 2.4.17, nVidia Kernel drivers 1.0.2314, Debian SID.

Dependencies versions :

libc6          2.2.5-1
libjpeg62      6b-5
libpng2        1.0.12-3
libtiff3g      3.5.5-6
libxaw6        4.1.0-13
libxaw7        4.1.0-13
xfree86-common 4.1.0-13
xlib6g         4.1.0-13
xlibs          4.1.0-13
xloadimage     4.1-9
xserver-common 4.1.0-13
xserver-xfree8 4.1.0-13
zlib1g         1.1.3-19

Greetings