viser icon indicating copy to clipboard operation
viser copied to clipboard

Choose interpolation method for background image.

Open tancik opened this issue 10 months ago • 0 comments

It would be nice to be able to choose the interpolation method when setting the background image. Ideally a interface like,

set_background_image(image: numpy.ndarray, format: Literal[png, jpeg] = 'jpeg', jpeg_quality: Optional[int] = None, interpolation: Literal[nearest, bilinear, bicubic] = 'bilinear')

tancik avatar Aug 18 '23 17:08 tancik