Re: jpeg bad bitmap format file (was: xsetroot -bitmap)
On Thu, Jan 25, 2001 at 12:04:09PM -0800, Xucaen wrote: --- Hall Stevenson [EMAIL PROTECTED] wrote: I just tried it and I got an error message saying bad bitmap format file Heh, don't know... sorry ;-( I've seen the program xv suggested before, but many get all worked up 'cause it's not a *free* program in the Debian sense of the word free. What does xsetroot say if you use a jpg file you downloaded from I didn't try this, but I think it wn't work. someone else on the user list told me that a bitmap is 2(?) colors and that xsetroot expects a 2(?) color bitmap. anything else won't work. I just discovered a program called xpmroot which uses an .xpm. but so far I haven't found anything that will use a .jpg. how are you doing it? xli -- as has already been suggested. $ xli -onroot -quiet your.jpg http://packages.debian.org/stable/graphics/xli.html Cheers, Erdmut -- Erdmut Pfeifer science+computing gmbh -- Bugs come in through open windows. Keep Windows shut! --
Re: jpeg bad bitmap format file (was: xsetroot -bitmap)
Xucaen wrote: Hall Stevenson [EMAIL PROTECTED] wrote: somewhere else instead of one you made with gimp ?? Speaking of gimp, how are you telling it what format to use ?? I think you have to tell gimp to use jpg or bmp format ... just naming it that way *may* not do it. correct. I tell it specifically which format to save as. I have saved as jpeg and as bmp ah well.. at least I can play around with xpmroot now. You might also want to test that it really has saved it as that format, not just with the extension .bmp - you can check this quickly and easily with file: $ file foo.bmp foo.bmp:PC bitmap data, Windows 3.x format, 256 x 256 x 24 But they're right, don't use .bmp! -- Justin B Rye - writing from but not for Datacash Ltd
Re: jpeg bad bitmap format file (was: xsetroot -bitmap)
--- Erdmut Pfeifer [EMAIL PROTECTED] wrote: uses an .xpm. but so far I haven't found anything that will use a .jpg. how are you doing it? xli -- as has already been suggested. $ xli -onroot -quiet your.jpg http://packages.debian.org/stable/graphics/xli.html that's strange, I did search for xli, but nothing came up.. is this the same as xloadimage? because I found that and installed it, now I use a utility called xsetbg file.jpg to set the background. workes awesome! xucaen __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
xsetroot -bitmap???
hi all.. sorry about all the stipid questions is there an xsetroot HOWTO out there? :-) [EMAIL PROTECTED]:~$ ls aim.xpm new.bmp test test.xpm [EMAIL PROTECTED]:~$ xsetroot -bitmap ~/new.bmp xsetroot: bad bitmap format file: /home/xucaen/new.bmp [EMAIL PROTECTED]:~$ I made new.bmp using gimp. any clues? I get unable to open file errors when I try to use xmp files. thanks all!!! xucaen __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
Re: xsetroot -bitmap???
[EMAIL PROTECTED]:~$ ls aim.xpm new.bmp test test.xpm [EMAIL PROTECTED]:~$ xsetroot -bitmap ~/new.bmp xsetroot: bad bitmap format file: /home/xucaen/new.bmp [EMAIL PROTECTED]:~$ I made new.bmp using gimp. any clues? Why not use something like jpeg instead ?? Hall
jpeg bad bitmap format file (was: xsetroot -bitmap)
--- Hall Stevenson [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~$ ls aim.xpm new.bmp test test.xpm [EMAIL PROTECTED]:~$ xsetroot -bitmap ~/new.bmp xsetroot: bad bitmap format file: /home/xucaen/new.bmp [EMAIL PROTECTED]:~$ I made new.bmp using gimp. any clues? Why not use something like jpeg instead ?? Hall I just tried it and I got an error message saying bad bitmap format file __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
Re: xsetroot -bitmap???
On Thu, Jan 25, 2001 at 09:40:30AM -0800, Xucaen wrote: hi all.. sorry about all the stipid questions is there an xsetroot HOWTO out there? :-) Just the man page. [EMAIL PROTECTED]:~$ ls aim.xpm new.bmp test test.xpm [EMAIL PROTECTED]:~$ xsetroot -bitmap ~/new.bmp xsetroot: bad bitmap format file: /home/xucaen/new.bmp [EMAIL PROTECTED]:~$ I made new.bmp using gimp. any clues? Yes. '.bmp' is almost certainly a Windows bitmap. That's not what X wants. (X bitmaps are typically named '.xbm', and are two-color.) I get unable to open file errors when I try to use xmp files. If you want to set the background to a color image, use a color image format (like jpeg, gif, xpm, whatever) and: xli image.jpeg (xli is in the 'xli' package.) -- CueCat decoder .signature by Larry Wall: #!/usr/bin/perl -n printf Serial: %s Type: %s Code: %s\n, map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack 'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= C x length; } /\.([^.]+)/g;
Re: xsetroot -bitmap???
--- brian moore [EMAIL PROTECTED] wrote: On Thu, Jan 25, 2001 at 09:40:30AM -0800, Xucaen wrote: [EMAIL PROTECTED]:~$ ls aim.xpm new.bmp test test.xpm [EMAIL PROTECTED]:~$ xsetroot -bitmap ~/new.bmp xsetroot: bad bitmap format file: /home/xucaen/new.bmp [EMAIL PROTECTED]:~$ I made new.bmp using gimp. any clues? Yes. '.bmp' is almost certainly a Windows bitmap. That's not what X even if I create it from scratch with gimp? wants. (X bitmaps are typically named '.xbm', and are two-color.) I get unable to open file errors when I try to use xmp files. If you want to set the background to a color image, use a color image format (like jpeg, gif, xpm, whatever) and: xli image.jpeg (xli is in the 'xli' package.) I don't know what xli is. I looked for it using apt-cache search xli but didn't find anything. what is xli? is it some sort of image converter? thanks!! xucaen __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
Re: xsetroot -bitmap???
On Thu, Jan 25, 2001 at 09:40:30AM -0800, Xucaen wrote: hi all.. sorry about all the stipid questions is there an xsetroot HOWTO out there? :-) [EMAIL PROTECTED]:~$ ls aim.xpm new.bmp test test.xpm [EMAIL PROTECTED]:~$ xsetroot -bitmap ~/new.bmp xsetroot: bad bitmap format file: /home/xucaen/new.bmp [EMAIL PROTECTED]:~$ I made new.bmp using gimp. any clues? I get unable to open file errors when I try to use xmp files. thanks all!!! xucaen Maybe you're looking for xsetbg (in the xloadimage package)? -- Michael E. Touloumtzis mailto:[EMAIL PROTECTED] Ingres Product Development Computer Associates International
Re: jpeg bad bitmap format file (was: xsetroot -bitmap)
--- Hall Stevenson [EMAIL PROTECTED] wrote: I just tried it and I got an error message saying bad bitmap format file Heh, don't know... sorry ;-( I've seen the program xv suggested before, but many get all worked up 'cause it's not a *free* program in the Debian sense of the word free. What does xsetroot say if you use a jpg file you downloaded from I didn't try this, but I think it wn't work. someone else on the user list told me that a bitmap is 2(?) colors and that xsetroot expects a 2(?) color bitmap. anything else won't work. I just discovered a program called xpmroot which uses an .xpm. but so far I haven't found anything that will use a .jpg. how are you doing it? somewhere else instead of one you made with gimp ?? Speaking of gimp, how are you telling it what format to use ?? I think you have to tell gimp to use jpg or bmp format ... just naming it that way *may* not do it. correct. I tell it specifically which format to save as. I have saved as jpeg and as bmp ah well.. at least I can play around with xpmroot now. Good luck Hall my luck comes from this list. :-) thanks everyone!! xucaen __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
Re: xsetroot -bitmap???
On Thu, Jan 25, 2001 at 10:18:19AM -0800, Xucaen wrote: --- brian moore [EMAIL PROTECTED] wrote: On Thu, Jan 25, 2001 at 09:40:30AM -0800, Xucaen wrote: I made new.bmp using gimp. any clues? Yes. '.bmp' is almost certainly a Windows bitmap. That's not what X even if I create it from scratch with gimp? Yes, it's a Windows Bitmaap file. (Just like a .DOC file would be a Word file, even if some other program exported it.) wants. (X bitmaps are typically named '.xbm', and are two-color.) I get unable to open file errors when I try to use xmp files. If you want to set the background to a color image, use a color image format (like jpeg, gif, xpm, whatever) and: xli image.jpeg (xli is in the 'xli' package.) I don't know what xli is. I looked for it using apt-cache search xli but didn't find anything. what is xli? is it some sort of image converter? It should certainly be there. It's included in potato, woody and sid, and it's old enough to probably be in slink as well. Package: xli Priority: optional Section: graphics Installed-Size: 310 Maintainer: James R. Van Zandt [EMAIL PROTECTED] Architecture: i386 Version: 1.16-12 Depends: libc6 (= 2.1), libpng2, libz1, xlib6g (= 3.3.5) Filename: dists/potato/main/binary-i386/graphics/xli_1.16-12.deb Size: 156254 MD5sum: a819bd8b7b76b2d5a02044a59f7a293d Description: view images under X11 Can view the following image types under X11: FBM Image, Sun Rasterfile, CMU WM Raster, Portable Bit Map (PBM, PGM, PPM), Portable Network Graphics (PNG), Faces Project, GIF Image, JFIF style jpeg Image, Utah RLE Image, Windows, OS/2 RLE Image, Photograph on CD Image, X Window Dump, Targa Image, McIDAS areafile, G3 FAX Image, PC Paintbrush Image, GEM Bit Image, MacPaint Image, X Pixmap, X Bitmap. -- CueCat decoder .signature by Larry Wall: #!/usr/bin/perl -n printf Serial: %s Type: %s Code: %s\n, map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack 'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= C x length; } /\.([^.]+)/g;
Re: xsetroot -bitmap???
On Thu, Jan 25, 2001 at 12:51:55PM -0500, Hall Stevenson wrote: [EMAIL PROTECTED]:~$ ls aim.xpm new.bmp test test.xpm [EMAIL PROTECTED]:~$ xsetroot -bitmap ~/new.bmp xsetroot: bad bitmap format file: /home/xucaen/new.bmp [EMAIL PROTECTED]:~$ I made new.bmp using gimp. any clues? Why not use something like jpeg instead ?? xsetroot doesn't take anything but a bitmap. I use xv myself... # Set up the background image with xv. image=/home/msoulier/wdmc1.jpg if [ -x /usr/bin/X11/xv ] [ -e $image ] then /usr/bin/X11/xv -maxp -quit -root $image fi Are you sure that bmp is correct? That's a windoze format, is it not? I was thinking xpm myself... Mike -- Michael P. Soulier [EMAIL PROTECTED] ...the word HACK is used as a verb to indicate a massive amount of nerd-like effort. -Harley Hahn, A Student's Guide to UNIX PGP Public Key: http://24.43.42.96/email.phtml pgpqTxN3A7tS7.pgp Description: PGP signature