I am doing a project this year that requires to develop a program that will read an scanned image and resize it.
Upto now I have been able to extract the RGB values for each pixel in the picture using the PixelGrabber class in java but I do not know how to manipulate these values while resizing them.
The project needs to convert all scanned images to a predefined size. For example, images of size 800*600 and 200*185, both are to be converted to size 300*300.
I need the algorithm that will do my work.