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

ImageLayer 支持图片效果增强 #2180

Closed
1 task done
lzxue opened this issue Dec 18, 2023 · 1 comment · Fixed by #2186
Closed
1 task done

ImageLayer 支持图片效果增强 #2180

lzxue opened this issue Dec 18, 2023 · 1 comment · Fixed by #2186
Assignees

Comments

@lzxue
Copy link
Contributor

lzxue commented Dec 18, 2023

AntV Open Source Contribution Plan(可选)

  • 我同意将这个 Issue 参与 OSCP 计划

Issue 类型

中级任务

任务介绍

增强图图层的样式配置,目前只支持透明度 opacity 配置,需要新增一些配置增强图片的表达能力。

  • saturation 饱和度
  • contrast 对比度’
  • brightness 亮度
  • mixColor 颜色混合

可以参照 Mapbox的实现 https://docs.mapbox.com/style-spec/reference/layers/#paint-raster-raster-brightness-max

参考说明

No response

@taiyuanhy
Copy link
Contributor

认领

@lzxue lzxue added the OSCP 已认领 已认领 label Dec 19, 2023
lzxue pushed a commit that referenced this issue Dec 19, 2023
* fix: fillImage中uniform没对齐的bug

* feat: imageLayer支持图片效果增强 (#2180)

* chore: 删除imageLayer中的颜色叠加

* docs: 更新imageLayer.style中新增的图像增强的参数的文档

---------

Co-authored-by: huyang <[email protected]>
@lzxue lzxue closed this as completed Dec 19, 2023
@lzxue lzxue linked a pull request Dec 19, 2023 that will close this issue
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants