by Erick Eduardo Petrucelli (1 Submission)
Category: Graphics
Compatability: VB Script
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(11 Votes)

Hi people! This is my first code about graphics. This sample demonstrate how you can colorize a picture with the system colors (in this sample a used the look of the Windows Media Player 9 Setup for the pictures). The code uses Hue, Saturation and Luminance functions, converte it to RGB, paint pixel-per-pixel speed using DIB sections and run with themes of Win XP and above or classic themes of other versions. The colors of pictures is obtained with the same code of Office XP / Office 2003 to set the color of their menus. Is very usefull for all programers... And more: apply alpha to a bitmap and show icons of Windows XP with the 32bit (with alpha chanel) suport! I believe that you will like... Bye...