![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Images & transparency |
|
|
#1 (permalink) |
|
Addict
Join Date: Dec 2006
Posts: 26
![]() |
Hi all
![]() I'm searching a way to have transparency in my profile's image. When i use GIF or JPEG format, the background is colored and PNG is not supported in TBT... Could you please, telle me how can i bypass this problem ? Thank you ![]() |
|
|
|
|
|
#2 (permalink) |
|
Creator
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,616
![]() |
Although TouchBuddy itself supports both of these, TBTk doesnt support "transparency" as such (a limitation of using VB6 to code it in). Unsure if the current development TBTk supports PNG, will have to go check. The JPEG file format does not suport alpha channels as far as I know.
__________________
![]() ![]() (Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy) |
|
|
|
|
|
#4 (permalink) |
|
Creator
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,616
![]() |
Transparency *IS* possible in TouchBuddy... its just the Toolkit that is unable to support the display of the transparent bits of images.
__________________
![]() ![]() (Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy) |
|
|
|
|
|
#6 (permalink) |
|
Toolkit Creator
Join Date: May 2006
Location: On your Six!
Posts: 1,888
![]() |
The Toolkit will allow you to put buttons in your profile that are .png, .tif, .tga, but they will not display correctly. But you can put them in, and drag them around to the correct locations, and Save your profile.
Then you can 'view' your profile in TouchBuddy to see what it will look like. As Zorlac said, I'm coding in VB6 and it does not have native support for anything but .bmp, .jpg, and .gif. I 'can' use api calls to get .png, .tif, and .tga onto VB6 Controls, but it looks screwed up when you drag them and the control the image is on is not transparent to the Tab screen control that is behind it. It's kind of a Catch-22. I can do what zorlac is doing (I think) and paint each image onto a background on a single screen area/control. But then it is not draggable, and the Toolkit needs this. I still would like to get this to work, but it appears that I would have to do some tricks. Not sure....
__________________
(a.k.a. Snacko) Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro ![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|