Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
snap2000 is currently offline  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 Smile

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? Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Grabbing mouse events
Next Topic: Native common dialogs
Goto Forum:
  


Current Time: Sun Aug 24 13:11:33 CEST 2025

Total time taken to generate the page: 0.06744 seconds