• 大小: 596KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-11
  • 语言: 其他
  • 标签: image  java  

资源简介

是关于图片处理的各种方法,并对报错对比度滤镜的处理方法做出调整

资源截图

代码片段和文件信息

package common.pic;

import java.awt.image.BufferedImage;
import java.io.File;

import javax.imageio.ImageIO;


import com.jhlabs.image.ContrastFilter;
import com.jhlabs.image.GrayscaleFilter;
import com.jhlabs.image.MaskFilter;


public class ChangeImageColor {
  public static final int redmask = 0xffff0000;//红色
  public static final int graymask = 0x00cecece;//灰色
  public static final int orangemask = 0x0000ff00;//橘色
  public static final int bluemask = 0x000000ff;//蓝色
  public static final int alphamask = 0xaa000000;
/**
 * 为指定图片添加指定颜色蒙版
 * @param initPath        原始图片路径:路径+图片名称+图片后缀
 * @param savePath       添加蒙版后图片保存路径:路径+图片名称+图片后缀
 * @param mask            为指定图片添加蒙版的颜色及透明度共32 位,0x表示16进制  三四位表示蒙版透明度 后六位为颜色值 
 */
public void setbaseImg(String 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       4081  2018-04-04 15:30  Filters changes\ChangeImageColor.java

     文件       1703  2006-11-16 09:38  Filters changes\Filters\build.xml

     文件     339454  2018-04-04 15:18  Filters changes\Filters\dist\Filters.jar

     文件         26  2006-11-16 09:40  Filters changes\Filters\Manifest

     文件       2225  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\AddComposite.java

     文件       2059  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\AverageComposite.java

     文件       2401  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\BurnComposite.java

     文件       2414  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\ColorBurnComposite.java

     文件       2409  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\ColorComposite.java

     文件       2389  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\ColorDodgeComposite.java

     文件       2997  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\ContourComposite.java

     文件       2072  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\DarkenComposite.java

     文件       2236  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\DifferenceComposite.java

     文件       2097  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\DodgeComposite.java

     文件       2123  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\ExclusionComposite.java

     文件       2456  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\HardLightComposite.java

     文件       2370  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\HueComposite.java

     文件       2074  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\LightenComposite.java

     文件       5213  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\MiscComposite.java

     文件       8830  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\MiscCompositeContext.java

     文件       2191  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\MultiplyComposite.java

     文件       2097  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\NegationComposite.java

     文件       2832  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\OverlayComposite.java

     文件       2163  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\PinLightComposite.java

     文件       2834  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\RGBComposite.java

     文件       2384  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\SaturationComposite.java

     文件       2253  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\ScreenComposite.java

     文件       2344  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\SoftLightComposite.java

     文件       2223  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\SubtractComposite.java

     文件       2374  2010-04-16 08:46  Filters changes\Filters\src\com\jhlabs\composite\ValueComposite.java

............此处省略208个文件信息

评论

共有 条评论