Package wk.filters

Examples of wk.filters.OilPaintFilter


        System.out.println(directory.getCanonicalPath()+"\\"+s);
        src = ImageIO.read(new File(directory.getCanonicalPath()+"\\"+s));
        BufferedImageOp op0 = new BlurFilter();
        BufferedImageOp op1 = new LomoFilter();
        BufferedImageOp op2 = new OldFilter();
        BufferedImageOp op3 = new OilPaintFilter(3);
       
        BufferedImageOp op = new CompoundFilter(op1, op2);
       
        dest = op.filter(src, null);
View Full Code Here


  }

  public void applyFilter() {

     BufferedImageOp op4 = new BlurFilter();
    BufferedImageOp op3 = new OilPaintFilter(3);
    BufferedImageOp op1 = new LomoFilter();
    BufferedImageOp op2 = new OldFilter();
    BufferedImageOp op = new CompoundFilter(op1, op2);
    dest = op4.filter(src, null);
View Full Code Here

TOP

Related Classes of wk.filters.OilPaintFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.