Hi all, have found some images/buttons i want to convert for use in a theme.
What format does housebot like. I have tried to use them direct but only half the image is shown and the other half when the button is pressed.
I have a attached one of the images for you to look at so you can see what i mean.
Thanks Mark..
Making Buttons
-
- HouseBot Guru Extraordinaire
- Posts: 1121
- Joined: Tue Sep 28, 2004 7:49 am
- Location: The Netherlands
Re: Making Buttons
Either JPG or PNG (maybe even BMP -> not sure)
You see half the image because a HouseBot button has an upstate and a downstate both in the same image. Lets say your image is 128 x 128 pixels and you want to make a button out of it. Then create a new image of 256 x 128 and put the image twice in the new button image next to eachother. If you up the contrast a bit of the right image you should even get a good downstate. A program can be downloaded (somewhere here I suppose) called imagedub. With it you can create buttons from images. Or you can do it manually using some drawing program.
You see half the image because a HouseBot button has an upstate and a downstate both in the same image. Lets say your image is 128 x 128 pixels and you want to make a button out of it. Then create a new image of 256 x 128 and put the image twice in the new button image next to eachother. If you up the contrast a bit of the right image you should even get a good downstate. A program can be downloaded (somewhere here I suppose) called imagedub. With it you can create buttons from images. Or you can do it manually using some drawing program.
Re: Making Buttons
You can also check out the Control Images and Common Button Image Format sections in the HouseBot online help for some additional details.
Scott
Re: Making Buttons
Also, see this post. I have attached some channel buttons you may find useful (towards the bottom).
http://www.cebotics.com/forums/viewtopi ... 1&t=856288
Osler
http://www.cebotics.com/forums/viewtopi ... 1&t=856288
Osler