Package com.jhlabs.image

Examples of com.jhlabs.image.RGBAdjustFilter.filter()


    BufferedImage desc = null;
    RGBAdjustFilter filter = new RGBAdjustFilter();
    filter.setGFactor(g);
    filter.setBFactor(b);
    filter.setRFactor(r);
    desc = filter.filter(src, null);
    filter = null;
    return desc;
  }

  // 增加亮度, gammer=1不变,<1变暗 >1变亮
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.