VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Add a color filter to a picture

by Ivan Uzunov (5 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

With this few lines of code you can simply add a color filter to a picture (see the ScreenShot!!!). The code is simple and very well comented. Enjoy

API Declarations
Private Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long) As Long
Private Declare Function SetPixel Lib "gdi32" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long, ByVal crColor As Long) As Long

Rate Add a color filter to a picture

Download Add a color filter to a picture

Download Add a color filter to a picture (12 KB)

Add a color filter to a picture Comments

No comments have been posted about Add a color filter to a picture. Why not be the first to post a comment about Add a color filter to a picture.

Post your comment

Subject:
Message:
0/1000 characters