client-toolkit icon indicating copy to clipboard operation
client-toolkit copied to clipboard

fix image_viewer example

Open MaxVerevkin opened this issue 3 years ago • 1 comments

Before

https://user-images.githubusercontent.com/34583604/180189421-e6dbf496-e0e9-492c-8f28-86e43c1d07a3.mp4

After

https://user-images.githubusercontent.com/34583604/180189576-4fc906c2-639e-4320-b4ab-57292906ace9.mp4

MaxVerevkin avatar Jul 21 '22 10:07 MaxVerevkin

I think what's actually inefficient is allocating a new Vec for the resized image. It would probably be better to use tiny-skia for this.

snakedye avatar Jul 21 '22 12:07 snakedye