Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Set or paint with transparent color?
Re: Set or paint with transparent color? [message #7888 is a reply to message #7887] |
Mon, 29 January 2007 07:27  |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
snap2000 wrote on Sun, 28 January 2007 18:11 |
luzr wrote on Sun, 28 January 2007 13:27 |
Quote: |
I'll be wanting to include external images from the hard drive, and make a certain color show as transparent
|
Ah, sorry, that is completely different thing 
Sure, you can do that as well. In fact, with new Image, this is quite trivial, just load your image, make ImageBuffer for it, get a pointer to pixels and scan through replacing your transparent color with empty space....
Mirek
|
Okay, so it's not as simple as setting an attribute, but it's doable.
Although, that means that I can also achieve my previous desire by writing to an image object and using ImageBuffer to do the same thing, no? 
|
Sure.
Mirek
|
|
|
Goto Forum:
Current Time: Sun Aug 24 08:06:12 CEST 2025
Total time taken to generate the page: 0.08468 seconds
|