Hello Brightside,
Please see the tips on the following pages:
http://www.java-tips.org/java-se-tips/java.awt.image/
http://www.java-tips.org/java-se-tips/javax.imageio/
They show how to load images, process them pixel by pixel and save to the disk in Java.
Let us know if there are further problems.