|
-
Jun 25th, 2001, 05:05 AM
#1
-
Jun 25th, 2001, 05:37 AM
#2
PowerPoster
PictureBoxes dont support GIF transparency... use a ImageBox
-
Jun 26th, 2001, 01:46 AM
#3
-
Jun 26th, 2001, 02:19 AM
#4
PowerPoster
Can you post the picture?
-
Jun 28th, 2001, 01:59 AM
#5
Thank U for the help !!!
I've done it on the easy way ... API
I Combined the orginal pic with it mask
Bye !!!
-
Jun 28th, 2001, 05:35 AM
#6
Junior Member
API the easy way naaaa!!! ive used transparent gifs in graphic box's and they work fine however i tend to use 48x48 icons because i dont know what program to use to create transparent gifs.
Help!, They're Gonna Get Me
-
Jun 28th, 2001, 11:19 PM
#7
Nope, no way known that API is the easiest way to do it. Nor are icons the easiest way either... Although you can have 16-bit colour icons (which you can't do with a GIF) it works out cheaper resource-wise and filesize-wise to put a transparent GIF in your project than a whole heap of icons.
You can create transparent GIFs with nearly any decent graphics program, Adobe Photoshop, Paint Shop Pro, etc. and also some decent free ones too.
I don't see the point of putting both an image and a mask in a project .. too much effort for semi-decent results
-
Jun 29th, 2001, 09:53 PM
#8
Lively Member
You can also create transparent GIFs with good old MS PAINT (That nasty tool that comes standard in "Accessories").
1. Save the picture file as a .GIF file.
2. Hit Ctrl-E or naviate to "Image...->Attributes".
3. Select your transparent color.
4. Resave the GIF image.
Its not fun, its not pretty, but it does work.
-Hand Out
Visit EliteVB for slimy subclassing tricks and GDI32 goodness.
-
Jul 1st, 2001, 10:51 PM
#9
Junior Member
Using BitBlt I want to show an image on top of another image. The top image has the MAGENTA background, and i want that to be the transparent color. Can anyone help?
-
Jul 17th, 2001, 10:57 PM
#10
Why BitBlt? Any specific reason? If this image is not going to be animating, why not just overlap two image boxes, but your background image in the bottom and your transparent image on top (saved as a GIF with transparency, of course.)?
Personally I use Paint Shop Pro 7 to create my transparent GIFs and also do all my other image-manipulations. It's very useful and a trial version is also available AFAIK from www.jasc.com. You can do some pretty neat stuff very easily, like cutting the palette down to 256/16/X number of colours - I have rendered a very cool title for one of my programs in a nice detailed font, with transparency, with a very cool semi-rendered wooden effect all using only 15 colours. It is about 450x100 pixels in size and as it has quite large transparent areas and 'blocks' of the same colour it is only 5kb in size.
Also what version of Paint are you using to do that? Mine doesn't do that (currently I'm running it on an NT4 system - is it 9x only?)
- Aurilus
-
Jul 18th, 2001, 06:43 AM
#11
PowerPoster
I think it's the 'new' MsPaint coming with WindowsME
-
Jul 20th, 2001, 12:02 PM
#12
New Member
i used a transparent GIF in an image box but when the box moves it buts a green box around it does any one know what to do?
-
Jul 31st, 2001, 02:05 AM
#13
OK.. this is kind of how I understand VB draws transparent GIFs..
It draws the GIF with the green/magenta/whatever colour transparent area there, then goes back and removes all areas of that colour. That is why it flickers when animating transparent GIFs, or moving/stretching transparent GIFs. The bigger the picture, the more noticeable the effect.
Why are you moving the box? And how?
- Aurilus
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|