缩略图水印组件wsImage3.5  
组件支持文字水印和图片水印,文字水印可设定透明度、阴影及阴影模糊,自定义字体、颜色、旋转角度等。图片水印也支持透明度。

解决方案 »

  1.   

    楼上所说的可以给GIF图片打水印吗?
      

  2.   

    jsp中如何实现 gif 水印???
      

  3.   

    jsp中如何实现 gif 水印???
      

  4.   

    jsp中如何实现 gif 水印???
      

  5.   

    Java可以真实实现对图片加水印,下面有
    http://www.programmerstudy.com/programme/java/20084/170.html
      

  6.   

    http://www.programmerstudy.com/programme/java/20084/170.html
      

  7.   

    加水印前几天我才做了个。现在把代码发给你看看吧
    public final static void pressImage(String pressImg, String targetImg,
                int x, int y) {
            try {
                //目标文件
                File file = new File(targetImg);
                Image src = ImageIO.read(file);
                int wideth = src.getWidth(null);
                int height = src.getHeight(null);
                BufferedImage image = new BufferedImage(wideth, height,
                        BufferedImage.TYPE_INT_RGB);
                Graphics g = image.createGraphics();
                g.drawImage(src, 0, 0, wideth, height, null);            //水印文件
                File filebiao = new File(pressImg); 
                //水印的缩放功能
                Image src_biao = ImageIO.read(filebiao);
                //读取水印文件的宽度和高度
                int wideth_biao = src_biao.getWidth(null);
                int height_biao = src_biao.getHeight(null);
                g.drawImage(src_biao, x, y, wideth_biao, height_biao, null);
                //水印文件结束
                g.dispose();
                FileOutputStream out = new FileOutputStream(targetImg);
                JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
                encoder.encode(image);
                out.close();
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
      

  8.   

    下面是给图片加水印
    http://www.programmerstudy.com/programme/java/20084/170.html