shah1d1698
asked on
algorithm for resizing an image
hi
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.
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.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
there are several methods, they break down to drop or blend, which are you wanting?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.