Java - subTraction


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  1. public RenderedImage subTraction(BufferedImage img1, BufferedImage img2)
  2. {
  3. pb.addSource(img1);
  4. pb.addSource(img2);
  5.  
  6. return JAI.create("subtract", pb);
  7. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.