Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图片渲染水印后出现色块 #1125

Open
wang-404 opened this issue Jan 13, 2025 · 5 comments
Open

图片渲染水印后出现色块 #1125

wang-404 opened this issue Jan 13, 2025 · 5 comments

Comments

@wang-404
Copy link

问题描述

图片添加水印后出现色块
原图为
水印原图
添加水印后,红色框内为色块
水印渲染

环境详情

  • watermark-js-plus version: 1.5.7
  • vue version: 2.6.14
  • react version:
  • react-dom version:
@zhensherlock
Copy link
Owner

https://stackblitz.com/edit/vitejs-vite-j2z1r63c?file=src%2FApp.tsx
我做了一个demo,也用了这个图片,暂时没有复现这个问题

@wang-404
Copy link
Author

https://stackblitz.com/edit/vitejs-vite-j2z1r63c?file=src%2FApp.tsx 我做了一个demo,也用了这个图片,暂时没有复现这个问题

我们在文件预览时,给div加的水印,出现了上述情况以及下列情况,有什么排查思路呢

Image

@zhensherlock
Copy link
Owner

我上面发的DEMO,你这边打开会出现色块吗?

@wang-404
Copy link
Author

我上面发的DEMO,你这边打开会出现色块吗?
没有出现色块

Image

@zhensherlock
Copy link
Owner

将水印的代码放在setTimeout中,延时几秒执行,试试看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants