gboat2.attachment.watermark
类 JMagickWatermarkStrategy
java.lang.Object
gboat2.attachment.watermark.JMagickWatermarkStrategy
- 所有已实现的接口:
- WatermarkStrategy
public class JMagickWatermarkStrategy
- extends Object
- implements WatermarkStrategy
图片加水印
- 作者:
- wangsr 2011-9-5
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMagickWatermarkStrategy
public JMagickWatermarkStrategy()
checkType
public static boolean checkType(String path)
watermark
public void watermark(String srcImg,
String targetImg,
String watermarkImg)
throws magick.MagickException
- 创建图片水印
- 指定者:
- 接口
WatermarkStrategy
中的 watermark
- 参数:
srcImg
- 源文件路径targetImg
- 生成文件位置watermarkImg
- 水印图标
- 抛出:
magick.MagickException
main
public static void main(String[] args)
Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.