jquery实现图片添加文字图片水印生成海报效果代码
代码语言:html
所属分类:布局界面
代码描述:jquery实现图片添加文字图片水印生成海报效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery.canvas.photo.min.js"></script> <style> body,html { padding: 0; margin: 0; width: 100%; height: 100%; } .canvas_photo { width: 100%; height: 100%; overflow: hidden; } </style> </head> <body> <div class="canvas_photo"></div> <script type="text/javascript"> let imgLength = 0; let list = [{ type: 'init', bg: "ffffff", image: "/asset/bg.jpg", x: 0, y: 0, width: 60, height: 60, }, { .........完整代码请登录后点击上方下载按钮下载查看
网友评论0