这是一款jQuery图片加水印插件,sample1,sample2调用,默认图片和添加水印之后的图片都有对比。
首先引用文件
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css">
<script src="js/img2blob.js" type="text/javascript"></script>
这是一款jQuery图片加水印插件,sample1,sample2调用
$(function() {
// default
$(".sample1").img2blob();
// with watermark
$(".sample2").img2blob({
watermark: '我是水印素材火插件库',
fontStyle: 'Microsoft YaHei,Arial',
fontSize: '18', // px
fontColor: '#fff', // default 'black'
fontX: 180, // The x coordinate where to start painting the text
fontY: 280 // The y coordinate where to start painting the text
});
});
系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791