I’d like to know where read materials to learn how to manipulate image via code.
I just created a simple software to read any pixels from an image and i’m able to apply some simple code to modify it, for example i can create a gray scale image using this (pseudo)code:
foreach(pixel in image){
red = pixel.r;
green = pixel.g;
blue = pixel.b;
alpha = pixel.a;
gray = (red + green + blue) / 3;
pixel.r = gray;
pixel.g = gray;
pixel.b = gray;
}
Do you know websites (or a books) where i can find any informations about image manipulation applied to software development ?
If you need a fast approach to this problem, you can use as solution wikipedia 🙂 try out these links, there you’ll find formulas too.
in the right box you find RGB %
I have to separate my answers because as new user i can post only 2 hyperlinks at once