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

"SaveImage" action often saves image failed and results in memory increase #462

Closed
WeiqingChen opened this issue May 7, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@WeiqingChen
Copy link

WeiqingChen commented May 7, 2022

Describe the bug
The function SaveImage often save failed image with no picture infomation, espically in Framework4.8. And the same time, the memory will increase more after every SaveImage action. version="2.0.0-beta.220"
image
Capture

To Reproduce

  1. Run the attached solution code(VS2022).
  2. Run General/ChartToImage action to creat image.

Expected behavior
Saves the right image and the memory is not increasing after saving image action.

Screenshots
image

Desktop (please complete the following information):

  • OS: Win10

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.
LiveChart2WPFSample.zip

@EricEzaM
Copy link

I am having a similar issue regarding images saving as all white/blank, although I do not get it in a new test project based on the introductory documentation.

@beto-rodriguez beto-rodriguez added the bug Something isn't working label May 20, 2022
beto-rodriguez added a commit that referenced this issue May 20, 2022
@beto-rodriguez
Copy link
Owner

Thanks for the report, I was able to reproduce both, the memory leak an the blank image, both are fixed now with the refenced commit and it will be include in the next version of the library.

@WeiqingChen
Copy link
Author

I have updated the version to 2.0.0-beta.240, now it can save image successfully. But it also has the memory issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants