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 #7887 is a reply to message #7884] |
Mon, 29 January 2007 00:11   |
snap2000
Messages: 14 Registered: January 2007
|
Promising Member |
|
|
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?
|
|
|
Goto Forum:
Current Time: Sun Aug 24 13:11:33 CEST 2025
Total time taken to generate the page: 0.06744 seconds
|