joedf / ImgBeamer

SEM image formation process demo tool
https://joedf.github.io/ImgBeamer
MIT License
2 stars 0 forks source link

All input images are being scaled down #46

Closed joedf closed 8 months ago

joedf commented 8 months ago

Currently, all images are being "scaled" down to the stage size. The image size is being set instead of the scaling being set. This causes even more aliasing to all images when zooming in.

Working example / solution: The tephra 448nm image is 3839x3839 pixels, should not be blurry when zooming in. Konva images should not be sized, but rather just scaled....

https://codepen.io/joedf/pen/eYXKMKb?editors=0011

joedf commented 8 months ago

Partly related to: #7 for image fit/fill