antvis / antvis/X6

toPNG/toJPEG无法导出问题

Open
#4,083 10 comments 0 reactions 0 assignees View on GitHub
bug 🐛
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

通过toSVG方法可以导出,但是调用toPNG/toJPEG却没有反应

### 重现链接

no

### 重现步骤

通过toSVG方法可以导出,但是调用toPNG/toJPEG却没有反应

### 预期行为

我希望能够通过toPNG方法获取导出的图片

### 平台

- 操作系统: [Windows]
- 网页浏览器: [Google Chrome]
- X6 版本: [^2.4.31]

### 屏幕截图或视频(可选)

image
image

### 补充说明(可选)

no

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the export behavior in X6 2.4.31 on Windows with Google Chrome, comparing toSVG against toPNG and toJPEG. The issue provides no reproduction link, file, test, or entry point; done means toPNG and toJPEG visibly produce the expected exported image.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.