G6 icon indicating copy to clipboard operation
G6 copied to clipboard

使用downloadFullImage下载图片时,报错提示内存不足

Open yeyusama opened this issue 1 year ago • 4 comments

问题描述

如果不进行缩放限制 缩放到最大的话会更大 直接下载不了

但若缩小的太多又会导致下载的图片不清晰

目前1.5倍率也会有点不太清晰

目前数据量较多 1.5倍的情况下 会直接报错 偶尔也会下载下来一个空的图片 image image

重现链接

https://github.com/antvis/G6/issues/new?assignees=&labels=&projects=&template=bug_report_chinese.yml

重现步骤

image

预期行为

能否不进行倍率限制 也能够正常下载

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ]

屏幕截图或视频(可选)

image 922dc2b160d9c62139c20ad204a1812

补充说明(可选)

image

yeyusama avatar Nov 16 '23 06:11 yeyusama

Hi @yeyusama, Please star this repo if you find it useful! Thanks :star:! 你好 @yeyusama。如果该仓库对你有用,可以 star 一下,感谢你的 :star:!

github-actions[bot] avatar Nov 16 '23 06:11 github-actions[bot]

遇到的了同样的问题 在windows系统上,图片过大下载下来就是size为0的空图片

Sunxinqiang avatar Jan 03 '24 09:01 Sunxinqiang

遇到同样的问题

keminu avatar Jun 20 '24 09:06 keminu

应该是浏览器有大小限制,目前我的处理是图片宽高超出13000时,降低清晰度,以保证可以下载

Sunxinqiang avatar Jun 21 '24 08:06 Sunxinqiang

This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

github-actions[bot] avatar Jul 05 '24 05:07 github-actions[bot]