I want to discuss the feasibility of adding the ability to take an image and adjust its color according to a variable RGBA value. This would allow suite and skin makers to create their image resources in grayscale, then include the ability to change color schemes across the whole suite alongside fonts without the need for a whole set of images for every theme — and also allow the user to easily make adjustments of their own. I'm working on a suite right now with easily swappable ColorScheme.inc's and I've been sidestepping the use of any bitmaps and images to keep the feature. I haven't learned Windows GDI programing yet but I found this code example of how it might be done.
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/9d40a60e-55e7-4358-b2ee-3aedc51a1de7
It is currently September 8th, 2024, 2:37 am
[Feature] Image tinting
-
- Posts: 307
- Joined: August 14th, 2009, 8:04 am
-
- Developer
- Posts: 98
- Joined: August 6th, 2009, 3:03 pm
Re: [Feature] Image tinting
Oddly enough I had started working on this a few days ago.
Some of my plans for Image Meter so far:
Also: this explains a little more on the ColorMatrix that is used to colorize images:
http://www.c-sharpcorner.com/UploadFile/mahesh/Transformations0512192005050129AM/Transformations05.aspx
I'm on my "Spring" break next week, hopefully I'll have it done by next Thursday.
Some of my plans for Image Meter so far:
- Arbitrary image rotations
- Dynamic Alpha
- Dynamic Colorization (tinting)
- Alpha Gradients
- Colorization states (hover, down, up)
Also: this explains a little more on the ColorMatrix that is used to colorize images:
http://www.c-sharpcorner.com/UploadFile/mahesh/Transformations0512192005050129AM/Transformations05.aspx
I'm on my "Spring" break next week, hopefully I'll have it done by next Thursday.
Last edited by MattKing on February 19th, 2010, 3:18 am, edited 2 times in total.
-
- Posts: 307
- Joined: August 14th, 2009, 8:04 am
Re: [Feature] Image tinting
Wow, it's gonna be a very exciting time for Rainmeter skinners in the near future!