I have all the code that grabs the pictures but I cant quite get it to work correctly. My code so far is as follows;
Code:
public class DIP {
public static void chromakey(Picture p1, Picture p2){
for( int i = 0, j = p1.getHeight()-1; i < p1.getWidth();