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

Image corruption after resize #14

Closed
fbbdev opened this issue Aug 31, 2019 · 3 comments
Closed

Image corruption after resize #14

fbbdev opened this issue Aug 31, 2019 · 3 comments
Labels
type:bug Something isn't working

Comments

@fbbdev
Copy link
Contributor

fbbdev commented Aug 31, 2019

I'm seeing a curious corruption issue after resize on latest master (19a5db2).

Steps to reproduce:

  • Start rx - canvas size will be 128x128x1
  • Add at least 3 frames (minimum 4 total frames, 3 or less won't trigger the issue for me)
  • Run command :f/resize 20 20
  • Delete all additional frames (hit backspace 3 or more times)

Not sure whether the size of 20 has any special meaning. I can consistently reproduce the issue with 20; 33, 48, 64 didn't trigger it; 10, 21, 32 triggered it only some times.

I attached a short screencast. Best viewed at full resolution as the gif is heavily dithered 😄

screencast

@cloudhead
Copy link
Owner

Yeah I'm trying to figure out what this is 😅

@cloudhead cloudhead added the type:bug Something isn't working label Aug 31, 2019
@cloudhead
Copy link
Owner

Created an issue on wgpu: gfx-rs/wgpu#323

I'm not sure if this is expected behavior or not for textures < 64x64

@cloudhead
Copy link
Owner

This should now be fixed.

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

No branches or pull requests

2 participants