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 support enhancements #121

Open
SamSandq opened this issue Mar 25, 2024 · 5 comments
Open

Image support enhancements #121

SamSandq opened this issue Mar 25, 2024 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@SamSandq
Copy link

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
@frang75 frang75 self-assigned this Mar 25, 2024
@frang75 frang75 added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 25, 2024
@kroolzone
Copy link

is there a way to implement lanczos and spline36 scaling/resizing for images?

@frang75
Copy link
Owner

frang75 commented Apr 9, 2024

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.

@kroolzone
Copy link

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.

@SamSandq
Copy link
Author

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.

@frang75
Copy link
Owner

frang75 commented Apr 10, 2024

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.

NAppGUI doesn't support video, but its an interesting topic. Please, open an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants