Image support enhancements
Opened this issue · 5 comments
I propose that the following be added to NAppGUI, as they are supported on all platforms and useful:
- TIFF support
- configurable quality (compression) factor for JPG
is there a way to implement lanczos and spline36 scaling/resizing for images?
Hi @xbowzone
Still no. image_scale()
use drawing contexts to change the image dimensions. At the moment, the unique way to ensure a method is obtain the pixel buffer with image_pixels
and use a third party library.
Thanks @frang75 I'll take a look into it and try to find some third party lib with good docs.
Also how to integrate for eg: mpv into nappgui to play videos. Apologies for being off topic here.
This is a very interesting topic… I found this https://en.wikipedia.org/wiki/Comparison_gallery_of_image_scaling_algorithms
and it provides a good overview of what’s available.