VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Add a color filter to a picture

Ivan Uzunov  (5 Submissions)   Graphics   Visual Basic 3.0   Advanced   Wed 3rd February 2021

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 (4(4 Vote))

Download Add a color filter to a picture

Add a color filter to a picture Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters