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

偶发部分文字不透明度不生效 #848

Closed
liuzhenkn opened this issue Aug 26, 2024 · 18 comments
Closed

偶发部分文字不透明度不生效 #848

liuzhenkn opened this issue Aug 26, 2024 · 18 comments
Labels
bug Something isn't working

Comments

@liuzhenkn
Copy link

以前的Issues

问题描述

偶尔出现生成的图片上有一小部分不透明度不太对。
image

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAFACAYAAADqPiRCAAAAAXNSR0IArs4c6QAAGx5JREFUeF7tnTmPLD35Rx/2fZVIIOFTsGRIBECCEBIBkJHwrfgCCCQgAhIyUhBLAkggJCKE9LLvcM9L/f6y6t89d/qZ6W67+5Q0ujPV5WrXse+R7cd2vaY8JCABCUigReA1rVQmkoAEJCCBUqBWAglIQAJNAgq0Cc5kEpCABBSodUACEpBAk4ACbYIzmQQkIAEFah2QgAQk0CSgQJvgTCYBCUhAgVoHJCABCTQJKNAmOJNJQAISUKDWAQlIQAJNAgq0Cc5kEpCABBSodUACEpBAk4ACbYIzmQQkIAEFah2QgAQk0CSgQJvgTCYBCUhAgVoHJCABCTQJKNAmOJNJQAISUKDWAQlIQAJNAgq0Cc5kEpCABBSodUACEpBAk4ACbYIzmQQkIAEFah2QgAQk0CSgQJvgTCYBCUhAgVoHJCABCTQJKNAmOJNJQAISUKDWAQlIQAJNAgq0Cc5kEpCABBSodUACEpBAk4ACbYIzmQQkIAEFah2QgAQk0CSgQJvgTCYBCUhAgVoHJCABCTQJKNAmOJNJQAISUKDWAQlIQAJNAgq0Cc5kEpCABBSodUACEpBAk4ACbYIzmQQkIAEFah2QgAQk0CSgQJvgTCYBCUhAgVoHJCABCTQJKNAmOJNJQAISUKDWAQlIQAJNAgq0Cc5kEpCABBSodUACEpBAk4ACbYIzmQQkIAEFah0YCby3qj5a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HCvBBAm45hIETmO69ezmsiu+r3Wjkc8ty3QR0DykpsmMLYsGRNlLJSWp1ORbrrYn+fhFOjzcPQu6xIg4p5WKC1R16ivW5YXz7kCvThyv3BCAnTdOQ69sG3C7JqlWQgo0FlKwnxIQALLEVCgyxWZGZaABGYhoEBnKQnzIQEJLEdAgS5XZGZYAhKYhYACnaUkzIcEJLAcAQW6XJGZYQlIYBYCCnSWkjAfEpDAcgQU6HJFZoYlIIFZCCjQWUrCfEhAAssRUKDLFZkZloAEZiGgQGcpCfMhAQksR0CBLldkZlgCEpiFgAKdpSTMhwQksBwBBbpckZlhCUhgFgIKdJaSMB8SkMByBBTockVmhiUggVkIKNBZSsJ8SEACyxFQoMsVmRmWgARmIaBAZykJ8yEBCSxHQIEuV2RmWAISmIWAAp2lJMyHBCSwHAEFulyRmWEJSGAWAgp0lpIwHxKQwHIEFOhyRWaGJSCBWQgo0FlKwnxIQALLEVCgyxWZGZaABGYhoEBnKQnzIQEJLEdAgS5XZGZYAhKYhYACnaUkzIcEJLAcAQW6XJGZYQlIYBYCCnSWkjAfEpDAcgQU6HJFZoYlIIFZCCjQWUrCfEhAAssRUKDLFZkZloAEZiGgQGcpCfMhAQksR0CBLldkZlgCEpiFgAKdpSTMhwQksBwBBbpckZlhCUhgFgIKdJaSMB8SkMByBBTockVmhiUggVkIKNBZSsJ8SEACyxFQoMsVmRmWgARmIaBAZykJ8yEBCSxHQIEuV2RmWAISmIWAAp2lJMyHBCSwHAEFulyRmWEJSGAWAgp0lpIwHxKQwHIEFOhyRWaGJSCBWQgo0FlKwnxIQALLEVCgyxWZGZaABGYhoEBnKQnzIQEJLEdAgS5XZGZYAhKYhYACnaUkzIcEJLAcAQW6XJGZYQlIYBYC/wV8x9Nuo7JKIAAAAABJRU5ErkJggg==

复现步骤

配置信息:
contentType: 'text',
content: 'default watermark',
width: 200,
height: 190,
rotate: 25,
fontWeight: 'normal',
fontSize: '15px',
globalAlpha: 0.06,
layout: 'grid',
fontFamily: 'sans-serif',
gridLayoutOptions: {
rows: 2,
cols: 2,
gap: [10, 10],
matrix: [
[1, 0],
[0, 1]
],
},

环境详情

  • watermark-js-plus version:1.5.2
@zhensherlock
Copy link
Owner

能提供下其他的信息吗?比如浏览器版本
最好在 https://stackblitz.com/edit/vue2-vite-starter-t8cew5 上可以复现,便于快速定位问题

@liuzhenkn
Copy link
Author

能提供下其他的信息吗?比如浏览器版本 最好在 https://stackblitz.com/edit/vue2-vite-starter-t8cew5 上可以复现,便于快速定位问题

chrome 版本 127.0.6533.120(正式版本) (arm64),不过我在不止一个用户上偶现了这个问题,所以没法必现,看起来就是从生成的图片上就不对。不过触发率不是很高。。

另一个例子:
image

@zhensherlock
Copy link
Owner

filter和advancedStyle 参数有用到吗?

@liuzhenkn
Copy link
Author

filter和advancedStyle 参数有用到吗?

没呢 只用到了如下参数。
image

@zhensherlock
Copy link
Owner

尝试以下代码,看看能不能规避问题:
globalAlpha: 1,
filter: 'opacity(6%)',

@liuzhenkn
Copy link
Author

尝试以下代码,看看能不能规避问题: globalAlpha: 1, filter: 'opacity(6%)',

好的感谢,我们先修改一下试试,毕竟是偶现的所以不能立刻看到效果,如果还有问题我们再来反馈。

@liuzhenkn liuzhenkn reopened this Aug 29, 2024
@liuzhenkn
Copy link
Author

liuzhenkn commented Aug 29, 2024

打扰了 filter: 'opacity(6%)' 在 Safari 上不生效,可能还是要帮忙看下这个问题。目前我升级到了 1.5.3,如果还触发类似问题我再来反馈一下。

@zhensherlock
Copy link
Owner

https://developer.mozilla.org/zh-CN/docs/Web/API/CanvasRenderingContext2D/filter
image
Safari不支持filter,能不能在safari下还是用globalAlpha: 0.06

{
  ...(isSafari ? {
    globalAlpha: 0.06,
  } : {
    globalAlpha: 1,
    filter: 'opacity(6%)',
  })
}

@CrazyJET
Copy link

CrazyJET commented Sep 6, 2024

我可以复现这问题,浏览器缩放到75%或以下,刷新页面就会出现这个问题!麻烦修复一下,谢谢 @zhensherlock

@liuzhenkn
Copy link
Author

hello 能交流一下嘛 我这里不能稳定复现 wx: l314339793 @CrazyJET

@liuzhenkn liuzhenkn reopened this Sep 6, 2024
@liuzhenkn
Copy link
Author

我这里确实之前出现问题的设备也复现了,但是有的设备不能复现,
复现路径使用 command + - 缩放,然后刷新页面,就会稳定复现类似问题,而且这个后面的颜色还深浅不定,用户反馈有时候颜色很深。

复现浏览器版本及设备:
image
企业微信截图_618fab9a-f69a-48c5-82ef-ea290fcfbf46

@zhensherlock

@zhensherlock
Copy link
Owner

zhensherlock commented Sep 9, 2024

@liuzhenkn
https://stackblitz.com/edit/vue2-vite-starter-t8cew5?file=src%2FApp.vue
这个链接,你那边缩放后可以复现吗?
目前我电脑上缩放到67%,还是无法复现

@CrazyJET
Copy link

CrazyJET commented Sep 9, 2024

image
可以用一个demo文件(直接打开demo文件,不要用项目开发环境),测试一下

@liuzhenkn
Copy link
Author

@zhensherlock 那个链接不太好操作 我使用 @CrazyJET 的 html 在有问题的电脑上可以复现。感觉 M2 没这个问题,M1 和 windows 有些会触发。

企业微信截图_dae70cbf-d565-4e50-9cd2-7e5a14143aae 企业微信截图_43787871-38ee-48be-9c0b-645f139df051 企业微信截图_ac1a147b-17e0-4df1-8e60-0bb7abf7f7fe

@zhensherlock
Copy link
Owner

发现问题了,感谢 @liuzhenkn @CrazyJET ,今天晚些时间发布一个版本

@zhensherlock zhensherlock added the bug Something isn't working label Sep 9, 2024
@zhensherlock
Copy link
Owner

已解决上述问题,请更新至最新版本v1.5.6。

@liuzhenkn
Copy link
Author

已解决上述问题,请更新至最新版本v1.5.6。

收到 感谢 我们线上验证一下。

@liuzhenkn
Copy link
Author

我这边验证没问题了,我先 close 了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants