Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Images for Backgrounds?
#11
RE: Custom Images for Backgrounds?
(08-28-2018, 12:12 PM)Trippynet Wrote:
(08-27-2018, 09:47 PM)dasos Wrote:

Oh it does? Yea, im running 6.5.22, is the config string like the other or is it different?

Syntax is:

Code:
background "[display name]"
default "-image [filename with path]"

There was also a script someone had written (forget who) to populate the backgrounds file.

Copy the following to a shell script, save it and make it executable:

Code:
#!/bin/sh
BGDIR=$HOME/Backgrounds
#cp /usr/lib/X11/system.backgrounds $HOME/.backgrounds
chmod 644 $HOME/.backgrounds
cd ${BGDIR}
for x in *.jpg *.xpm *.png *.bmp; do
case ${x} in
'*.jpg'|'*.xpm'|'*.png'|'*.bmp') ;;
*)
NAME=`echo ${x} | tr '.' ' ' | awk '{print $1}' | tr '_' ' '`
echo "" >> $HOME/.backgrounds
echo "background \""${NAME}"\"" >> $HOME/.backgrounds
echo "default \""-image ${BGDIR}/${x}"\"" >> $HOME/.backgrounds
;;
esac
done

Copy your images into ~\Backgrounds, run the script and it will populate the .backgrounds file with all the images.

Hmmm, I might be missing something with my install. Any entry I make with flag "-image" will not populate in the backgrounds app. If I were to change to something like "-xpm" it will show up (of course, won't load). I was sure to create the image on my other machine with Photoshop with the exact resolution as the display, too, not sure if that matters or not but figured might help. Thanks for y'all help Smile
dasos Offline
O2

Posts: 6
Threads: 1
Joined: Aug 2018
Find Reply
08-29-2018, 10:22 PM
#12
RE: Custom Images for Backgrounds?
I have a trick I use for my backgrounds Wink

I find a suitable background online, then open it on my SGI in Photoshop 3.0,
and convert it to grayscale. eg 8bit 256 grayscale levels.
Then I convert it back to 24bit RGB and then use the tools in photoshop to change the greys to a full colour (like image -> color balance)
Finally, I convert it to an 8bit 256 color index color image in photoshop, and I choose a palette of say 6 or 7 bits during the conversion process. 
This will have the background eat 128 of the 256 available colours of so...
Then i save it to an 8bit indexed TIFF, and then convert that TIFF to XPM with XV.

This gives me a nice, small, fast 8bit indexed background that, although uniformly coloured, looks "24bit like" with no horrid dithering...
It loads 3x faster and consumes 3x less memory, and does'nt need to be decompressed, and it even looks nice on an 8bit display like an Indy with XL8 graphics...

I've attached an example ZIP file with 3 different colours applied as 3 XPM files..
Note these are 1600x1200 as that's my display res, you can use them as is on a lower resolution, or use xv or imagemagick's convert command to convert them...

bubbles xpm wallpapers in 3 colours

Cheers,
Radiance
(This post was last modified: 09-04-2018, 06:31 AM by radiance.)
radiance Offline
Indigo2

Posts: 32
Threads: 9
Joined: Jun 2018
Find Reply
09-04-2018, 05:20 AM
#13
RE: Custom Images for Backgrounds?
(09-04-2018, 05:20 AM)radiance Wrote: I have a trick I use for my backgrounds Wink

It loads 3x faster and consumes 3x less memory, and does'nt need to be decompressed, and it even looks nice on an 8bit display like an Indy with XL8 graphics...

ok, I have always wondered if it was me or if im doing something wrong.

I have an account on my o2 that has 4 desktops, each one has a different background image - when I log in it literally take 3 minutes for the desktop to load (I just timed it, this is a 400mhz R12k 1GB RAM o2 btw)

does it usually take a long time to log into an account that uses jpg files as a background?
gijoe77 Offline
Tezro

Posts: 358
Threads: 23
Joined: Jun 2018
Find Reply
09-04-2018, 10:37 AM
#14
RE: Custom Images for Backgrounds?
(09-04-2018, 05:20 AM)radiance Wrote: I have a trick I use for my backgrounds Wink

I find a suitable background online, then open it on my SGI in Photoshop 3.0,
and convert it to grayscale. eg 8bit 256 grayscale levels.
Then I convert it back to 24bit RGB and then use the tools in photoshop to change the greys to a full colour (like image -> color balance)
Finally, I convert it to an 8bit 256 color index color image in photoshop, and I choose a palette of say 6 or 7 bits during the conversion process. 
This will have the background eat 128 of the 256 available colours of so...
Then i save it to an 8bit indexed TIFF, and then convert that TIFF to XPM with XV.

This gives me a nice, small, fast 8bit indexed background that, although uniformly coloured, looks "24bit like" with no horrid dithering...
It loads 3x faster and consumes 3x less memory, and does'nt need to be decompressed, and it even looks nice on an 8bit display like an Indy with XL8 graphics...

I've attached an example ZIP file with 3 different colours applied as 3 XPM files..
Note these are 1600x1200 as that's my display res, you can use them as is on a lower resolution, or use xv or imagemagick's convert command to convert them...

bubbles xpm wallpapers in 3 colours

Cheers,
Radiance

Oh neat, thanks. Surely will give that a try. Of course, ive been having troubles install Photoshop xD But thats a diffrent story ^.^ #SGINoob
dasos Offline
O2

Posts: 6
Threads: 1
Joined: Aug 2018
Find Reply
09-05-2018, 10:58 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)