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

Images工具类能否加上水印等功能? #1262

Closed
Wizzercn opened this Issue May 22, 2017 · 13 comments

Comments

Projects
None yet
4 participants
@Wizzercn
Member

Wizzercn commented May 22, 2017

1、需求:给图片指定位置加上水印(文字或图片)的功能;
2、等比缩放的方法zoomScale,有没有考虑到长宽是奇数除不尽导致缩放图变形的问题?

@howe

This comment has been minimized.

Show comment
Hide comment
@howe

howe May 22, 2017

Member

你应该at胖五

Member

howe commented May 22, 2017

你应该at胖五

@Wizzercn

This comment has been minimized.

Show comment
Hide comment
@Wizzercn
Member

Wizzercn commented May 22, 2017

@pangwu86

This comment has been minimized.

Show comment
Hide comment
@pangwu86

pangwu86 May 22, 2017

Member

哦 me想想怎么实现

Member

pangwu86 commented May 22, 2017

哦 me想想怎么实现

@pangwu86 pangwu86 self-assigned this May 22, 2017

@pangwu86 pangwu86 closed this in 2535585 May 25, 2017

@pangwu86

This comment has been minimized.

Show comment
Hide comment
@pangwu86

pangwu86 May 25, 2017

Member

@Wizzercn 你说的问题2 就是1像素的问题吧 变形肉眼也基本看不出来吧

Member

pangwu86 commented May 25, 2017

@Wizzercn 你说的问题2 就是1像素的问题吧 变形肉眼也基本看不出来吧

@pangwu86

This comment has been minimized.

Show comment
Hide comment
@pangwu86

pangwu86 May 25, 2017

Member

等待文档的更新 #1269

Member

pangwu86 commented May 25, 2017

等待文档的更新 #1269

@Wizzercn

This comment has been minimized.

Show comment
Hide comment
@Wizzercn

Wizzercn May 25, 2017

Member

@pangwu86 问题2,实际项目,特别是电商网站项目表现的很明显,看起来很别扭呢,你要是做过电商项目就知道了客户的眼睛容不得沙子..- -

Member

Wizzercn commented May 25, 2017

@pangwu86 问题2,实际项目,特别是电商网站项目表现的很明显,看起来很别扭呢,你要是做过电商项目就知道了客户的眼睛容不得沙子..- -

@pangwu86

This comment has been minimized.

Show comment
Hide comment
@pangwu86

pangwu86 May 25, 2017

Member

@Wizzercn 发个图给me,把你调用的代码贴下 me测试下

Member

pangwu86 commented May 25, 2017

@Wizzercn 发个图给me,把你调用的代码贴下 me测试下

@Wizzercn

This comment has been minimized.

Show comment
Hide comment
@Wizzercn

Wizzercn May 25, 2017

Member

@pangwu86 是这样的,比如商城要求的图片尺寸是 300500,然后生成缩略图、列表图,都是等比压缩,但客户的美工可能提供的是 450500,等比压缩就变形了

Member

Wizzercn commented May 25, 2017

@pangwu86 是这样的,比如商城要求的图片尺寸是 300500,然后生成缩略图、列表图,都是等比压缩,但客户的美工可能提供的是 450500,等比压缩就变形了

@Wizzercn

This comment has been minimized.

Show comment
Hide comment
@Wizzercn

Wizzercn May 25, 2017

Member

@pangwu86 水印图可以加图片水印,也可以加文字水印的

Member

Wizzercn commented May 25, 2017

@pangwu86 水印图可以加图片水印,也可以加文字水印的

@pangwu86

This comment has been minimized.

Show comment
Hide comment
@pangwu86

pangwu86 May 25, 2017

Member

450x500 压缩到 300x500 ? 这还叫等比压缩? 明显分辨率不一样吧

Member

pangwu86 commented May 25, 2017

450x500 压缩到 300x500 ? 这还叫等比压缩? 明显分辨率不一样吧

@pangwu86

This comment has been minimized.

Show comment
Hide comment
@pangwu86

pangwu86 May 25, 2017

Member

加图片水印做好了 文字稍后再做

Member

pangwu86 commented May 25, 2017

加图片水印做好了 文字稍后再做

@Wizzercn

This comment has been minimized.

Show comment
Hide comment
@Wizzercn

Wizzercn May 26, 2017

Member

@pangwu86 那增加个方法,非等比压缩,自动补充指定颜色的背景,变成目标尺寸?

Member

Wizzercn commented May 26, 2017

@pangwu86 那增加个方法,非等比压缩,自动补充指定颜色的背景,变成目标尺寸?

@pangwu86

This comment has been minimized.

Show comment
Hide comment
@pangwu86

pangwu86 May 26, 2017

Member

现在的接口就是可以指定颜色填充的

image

Member

pangwu86 commented May 26, 2017

现在的接口就是可以指定颜色填充的

image

@wendal wendal added this to the 1.r.62 milestone Jul 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment