antvis / G6

♾ A Graph Visualization Framework in JavaScript.
https://g6.antv.antgroup.com/
MIT License
11.16k stars 1.33k forks source link

Download Image does not include Watermark. #6503

Closed RackweLLizm closed 15 hours ago

RackweLLizm commented 2 weeks ago

Describe the bug / 问题描述

When downloading an image in Tuval, the watermark is not included. Is there a way to download it with watermark

Reproduction link / 重现链接

No response

Steps to Reproduce the Bug or Issue / 重现步骤

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

Aarebecca commented 2 weeks ago

Currently, the watermark is drawn separately in the DOM, so it will not appear in the downloaded image (the rendering mechanisms of the two are completely different). If you want to add a watermark to the exported image, post-processing may be required at present, such as using some watermark tools or using a headless browser for screenshots.