Image Editing Smaller Than Pixel

pagego

Active member
Joined
Jan 30, 2003
Messages
27
Location
Milwaukee, WI
Is there a way to get and set the color of a part of a picture that is smaller than a pixel. I want to search for a color and change every instance of one color to another color, however it looks bad when using pixels. Thanks for your help.
 
Im not aware of any method that would allow you to go smaller than a pixel........
When changing sinlge pixels the image probably doesnt look good because of antialiasing. A lot of image editing programs automatically add pixels of different color around an "object" in the image so it looks smooth.
 
A pixel is made up of red green and blue, how can I see each individual color so as to change those, or at least add red where red should be and so on? Thanks in advance.
 
GetPixels and LockBits()

Im just a .Net newbie, but from what Ive read you can still use GetPixel to access the ARGB/RGB color data with VB.Net, but the question is do you want to...

because it seems like using GetPixel to loop through a bunch of pixels in VB.Net is really slow, because of all the LockBits and UnlockBits going on behind the scenes.

So is seems its better to take charge and do the LockBits yourself. Heres some code snippets I found to get you started:

http://www.dotnet247.com/247reference/msgs/28/140355.aspx
http://www.dotnet247.com/247reference/msgs/13/66263.aspx

Its interesting...I think dealing with a VB.Net color space is is going to mean a little bit of a re-orientation to thinking about manipulating graphics at the pixel level (or in memory).
 
Back
Top