Go Back   BWHacks > General > Graphics & Arts

Graphics & Arts All around computer graphics, Photoshop, 3D Studio, and more.

Reply
 
LinkBack Thread Tools

Old 04-03-2005, 10:37 PM   #1 (permalink)
LCSBSSRHXXX
The Sexy Penguin
Senior Member
Retired Staff Member

Prophet
 
LCSBSSRHXXX's Avatar
 
Join Date: Feb 2005
Location: MOTHA ****IN BOULDER COLORADO
Posts: 7,209
LCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond repute
Send a message via AIM to LCSBSSRHXXX
Default Paint Filter Tutorial

Here is a filter tutorial I wrote. A filter is an effect that is applied to an image like in a photoshop program, there are tons of effects you can do with a filter I've listed how to do a few, so you guys can discover some for your selves .
Quote:
[Filter Tutorial]
By LCSBSSRHXXX

Hey every one I wrote this tutorial because it was pretty hard to figure out how to make filters for my paint program, I got a little help from my dad with some of the ways to process an image, and some I figured out by going into photo shop and finding the differences from the RGB values in the original picture and the return picture
and I spent a few days expermenting and writing filters from trial and error and from thinking.

Grey Scale
The average of the RGB values then the avrage of the pixel's RGB apply that value to the RGB values

Invert Colors
Subtract The RGB values from 255.
Birghten
Add to the RGB value.
Darken
Subtract to the RGB value.
Dodge
Multiply the RGB value by 2.
Burn
Divide the RGB value by 2.
Noise
Add or subtract a random number from the RGB values.

Here Are Two In Depth Tutorials For Making A Filter, With Examples

Grey Scale
grey scale is the color range from black (RGB(0,0,0)) to white (RGB(255,255,255)) if you want to convert an image
to grey scale you need to get all the RGB values equal, the method I used to convert a image to grey scale is:
[1] Get Images Pixels
[2] Set a variable to the value of the average of the pixels RGB values set a variable to it (greycolor = R + G + B / 3)
[3] Set a pixel with "greycolor" (The variable you set the average of the pixel's RGB) over the old pixel, this gets the
pixel into grey scale

example:

Code:
Dim greycolor as Integer
Private Declare Function SetPixel Lib "Gdi32" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long, ByVal crColor As Long) As Long
Private Sub Invert()
For Y = 0 To (Picture.Height / Screen.TwipsPerPixelY)
For X = 0 To (Picture1.Width / Screen.TwipsPerPixelX)
R =Picture1.Point(X, Y) And 255
G = (Picture1.Point(X, Y) And 65280) / 256
B = (Picture1.Point(X, Y) And 16711680) / 65535
greycolor = (R + G + B) / 3
SetPixel Picture1.hdc, X, Y, RGB(greycolor, greycolor, greycolor)
Next X
Next Y
End Sub
Invert Colors
Inverting colors takes a image and turns the colors to oppisite colors, or inverted colors. To invert an image I do this:
[1] Get Images Pixels
[2] Set a pixel with RGB(255 - R, 255 - G, 255 - B)

example:
Code:
Private Declare Function SetPixel Lib "Gdi32" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long, ByVal crColor As Long) As Long
Private Sub Invert()
For Y = 0 To (PicBox.Height / Screen.TwipsPerPixelY)
For X = 0 To (Picture1.Width / Screen.TwipsPerPixelX)
R =Picture1.Point(X, Y) And 255
G = (Picture1.Point(X, Y) And 65280) / 256
B = (Picture1.Point(X, Y) And 16711680) / 65535
greycolor = (R + G + B) / 3
SetPixel Picture1.hdc, X, Y, RGB(255 - R, 255 - G, 255 - B)
Next X
Next Y
End Sub
__________________
Quote:
Originally Posted by 707 View Post
Gotta throw the magnums down on the counter, and be like yeeeeah bitch.
we pop bitchez wit r gatz klub:
LCS, 707, BELPHEGOR

YEEEEEEEH BITCH

Quote:
Gorgy: so whats the new klub
Gorgy: poppin bitchez wit ur gat
707: WE GOT DICKS LIKE JESUS, SO WE GOTTA SPORT THE MAGS, AND BE LIKE YEEEEH BITCH

Last edited by LCSBSSRHXXX : 04-03-2005 at 11:05 PM.
LCSBSSRHXXX 15 0FF11|\|3   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links


Old 04-03-2005, 11:07 PM   #2 (permalink)
Uniquely_Defined
Senior Member

Crusader
 
Uniquely_Defined's Avatar
 
Join Date: Dec 2004
Posts: 3,374
Uniquely_Defined has much to be proud ofUniquely_Defined has much to be proud ofUniquely_Defined has much to be proud ofUniquely_Defined has much to be proud ofUniquely_Defined has much to be proud ofUniquely_Defined has much to be proud of
Send a message via AIM to Uniquely_Defined Send a message via MSN to Uniquely_Defined Send a message via Skype™ to Uniquely_Defined
Default

Nice job on the tutorial. Thanks for writing it, gave me a little insight to filters.
__________________
Don't mess with my wiggle.

ZyZ (11:05:48 PM): I'm
ZyZ (11:05:49 PM): ****ing
ZyZ (11:05:49 PM): bi
Uniquely_Defined 15 0FF11|\|3   Reply With Quote

Old 04-04-2005, 12:46 AM   #3 (permalink)
Noober
Wtf is an acolyte?

Evangelist
 
Noober's Avatar
 
Join Date: Feb 2005
Posts: 1,115
Noober is a jewel in the rough
Send a message via AIM to Noober
Default

Well if you're using Photoshop you can just do image>mode>grayscale, and to invert it just press ctrl+i.
Noober 15 0FF11|\|3   Reply With Quote

Old 04-04-2005, 12:51 AM   #4 (permalink)
LCSBSSRHXXX
The Sexy Penguin
Senior Member
Retired Staff Member

Prophet
 
LCSBSSRHXXX's Avatar
 
Join Date: Feb 2005
Location: MOTHA ****IN BOULDER COLORADO
Posts: 7,209
LCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond reputeLCSBSSRHXXX has a reputation beyond repute
Send a message via AIM to LCSBSSRHXXX
Default

This tutorial explains how to make your own greyscale and other effects, basically the purpose of this tutorial is to explain how to go about making your own photoshop effects.
__________________
Quote:
Originally Posted by 707 View Post
Gotta throw the magnums down on the counter, and be like yeeeeah bitch.
we pop bitchez wit r gatz klub:
LCS, 707, BELPHEGOR

YEEEEEEEH BITCH

Quote:
Gorgy: so whats the new klub
Gorgy: poppin bitchez wit ur gat
707: WE GOT DICKS LIKE JESUS, SO WE GOTTA SPORT THE MAGS, AND BE LIKE YEEEEH BITCH
LCSBSSRHXXX 15 0FF11|\|3   Reply With Quote

Old 04-04-2005, 02:53 AM   #5 (permalink)
punture
Senior Member

Saint
 
punture's Avatar
 
Join Date: Jul 2004
Location: Vancouver, B.C. Canada
Posts: 6,151
punture has much to be proud ofpunture has much to be proud ofpunture has much to be proud ofpunture has much to be proud ofpunture has much to be proud ofpunture has much to be proud of
Send a message via AIM to punture Send a message via MSN to punture
Default

Can I just leech some tutorials off of some siteS???

Of course I'll give credit..
__________________
punture 15 0FF11|\|3   Reply With Quote

Old 04-04-2005, 03:11 AM   #6 (permalink)
FireXtol

Disciple
 
FireXtol's Avatar
 
Join Date: Dec 2004
Location: between d and t
Posts: 410
FireXtol is on a distinguished road
Default

Those aren't filters. *shakes head*

All good filters use matrices... And a better filter uses a large matrix!

There's even a greyscale and inversion matrix.

And I'm pretty sure L=0.3*RED+0.59*GREEN+0.11*Blue, is faster at color to greyscale conversion than (r+g+b)/3. Which you could then bitshift and logically AND together to form a 24 bit greyscale image...:

L=0.3*RED+0.59*GREEN+0.11*Blue
c= L * 256 'bitshift
c= (c and L) * 256 ' GR
c= c and L 'BGR
FireXtol 15 0FF11|\|3   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gamehacking tutorial NickF Starcraft Hacking Related 85 01-08-2008 11:37 PM
By-passing the word filter. saren Website Related 41 04-11-2005 01:35 AM
Tutorial help NoFinalTruth Programming 29 12-17-2004 05:38 AM
Need tutorial to get started that doesnt ask for TMK Saint(305) Starcraft Hacking Related 0 09-17-2004 05:13 PM
Advanced: Name Spoofer Tutorial OverFlow636 Hacking Tutorials 0 09-05-2004 08:25 PM


All times are GMT. The time now is 11:07 AM.


vBulletin style developed by Transverse Styles

Powered by vBulletin Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
Copyright © 2004-2008 BWHacksAd Management by RedTyger