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

只支持透明背景png图片吗? #1

Open
tss12 opened this issue May 22, 2018 · 5 comments
Open

只支持透明背景png图片吗? #1

tss12 opened this issue May 22, 2018 · 5 comments

Comments

@tss12
Copy link

tss12 commented May 22, 2018

No description provided.

@bangbaoshi
Copy link
Owner

bangbaoshi commented May 27, 2018

目前对模板图片上的像素的要求是
1.透明色
2.非透明色
这其实就是一种布尔开关,
只有非透明色的区域会被填充文字。

@tss12 你的意思是可以在参数中制定某种颜色是背景色么?

之前,我也想过把白色和黑色或者其他纯色当做背景色,
但是因为设计人员给的模板图并不是纯白色或者纯黑色,
导致模板所有的部分都被填充了文字,索性要求背景色一律是透明色。

@tss12
Copy link
Author

tss12 commented Jun 8, 2018

我现在的模板是非透明背景的,不能生成词云图啊,我想问问这个是否可以支持非透明图片啊

@bangbaoshi
Copy link
Owner

@tss12 可以支持,把你的图片传上来,我修改之后用做测试图片

@tss12
Copy link
Author

tss12 commented Jun 13, 2018

@bangbaoshi ok 图片 已经上传了

@tss12
Copy link
Author

tss12 commented Jun 13, 2018

@bangbaoshi 我的建议是能不能兼容 透明模板和非透明模板呢,也不需要参数来控制了,任意模板都可以

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