hoffstadt / hoffstadt/DearPyGui
Image display corruption when swapping static image data into a dynamic texture that previous held animated image data
- Dominant language
- C++
- Stars
- 15.6k
- Forks
- 783
- PR merge metrics
- No merged PRs in 30d
Description
## Version of Dear PyGui
Version: 0.8.57
Operating System: Windows 10
## My Issue/Question
If you load an animated GIF into a dynamic texture and then swap the data out for a static PNG texture, it manifests as visible corruption / interlaced shearing.
## To Reproduce
Steps to reproduce the behavior:
1. Run the attached project
2. Click the 'Load Static PNG' button
3. Click the 'Load Animated PNG' button
## Expected behavior
Texture swaps out, image updates
## Screenshots/Video
https://user-images.githubusercontent.com/14815901/131238011-b7a9a0fa-a40c-48fc-875f-9181414f9134.mp4
[temp.repro.zip](https://github.com/hoffstadt/DearPyGui/files/7071885/temp.repro.zip)
## Standalone, minimal, complete and verifiable example
Attached
[temp.repro.zip](https://github.com/hoffstadt/DearPyGui/files/7071884/temp.repro.zip)
Contributor guide
Assessment
This issue has not been assessed yet.