GeoDaCenter / GeoDaCenter/geoda
Save to PNG fails with large wxBitmap (high dpi file)
Open
@lixun910 is already working on this.
Since Nov 23, 2020.
- Dominant language
- C++
- Stars
- 804
- Forks
- 161
- Avg merge
- 9d 21h
- Merged PRs (30d)
- 2
Description
When saving a map to a large png file on a computer with limited memory (e.g. testing machine has 2GB memory, png file 21564x15855 at 300 dpi), wxWidget will raise assertion "could not allocate data for image" and crash GeoDa.
A check should be added to prevent a crash from wxWidget.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.