forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Transparent BITMAP's. (How do you do it?)

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Thu Apr 28, 2005 9:16 am    Post subject: Transparent BITMAP's. (How do you do it?) Reply with quote

Hi,

I have read the VDS help which says that the colour at position 0x0 is used when transparency is set.
I chose to use magenta as the colour for my transparency, but to no avail.

What am I doing wrong?
I have tried to use photo shop to make the background transparent, which doe not work.

How on earth do I make thing like bitbtn's have transparent faces?

Thank you
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Apr 28, 2005 10:11 am    Post subject: Reply with quote

See the bitmaps used in the Textpad example.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Apr 28, 2005 8:30 pm    Post subject: Reply with quote

There is no such thing as a 'transparent bitmap', however a program can
make transparency with bitmaps possible by not displaying pixels with a
certain color. For example, if the desired transparent color was white,
you would want to (usually) set the pixel at coordinate 0,0 to white,
and the program would make that color transparent. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Fri Apr 29, 2005 8:20 am    Post subject: Reply with quote

Hmmm, as a test i created a bmp with a white dot in the middle and a black background. I placed the image on a dialog bitbtn, which did show transparent. but when used as a bitmap it was not.

How do I make bitmaps with transparent backgrounds? It that possible?

Can I use any colour for the background and still have it transparent? Can I also use as many colour as I like? At any size?
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Apr 29, 2005 10:52 am    Post subject: Reply with quote

You can't do this in VDS 5. Only icons can have a transparent background. The invisibility effect in bitmaps is only implemented as part of the functionality of BITBTNs.

You will be able to have transparent bitmaps in VDS 6, though...

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Sat Apr 30, 2005 1:03 pm    Post subject: Reply with quote

VDS 6? Hmmm, do we have a date for its birth?
Any details on it yet, price tag, functions, etc?

Sorry for the off topic.

Thanks for you other help though.
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Apr 30, 2005 2:09 pm    Post subject: Reply with quote

My guess, though not based on any information whatsoever, is that it will
come out within the next 6 months, the pricing will be about the same.
But again, that's only my guess.

You can find some additional details on VDS 6 if you log in to the registered
user area on the official site. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group