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

Implement zoom for previews #38

Open
tfuxu opened this issue Nov 11, 2023 · 0 comments
Open

Implement zoom for previews #38

tfuxu opened this issue Nov 11, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tfuxu
Copy link
Owner

tfuxu commented Nov 11, 2023

This will require a custom image processing library that supports image tilling and a way to implement custom image viewer that is not based on Gtk.Picture.

libvips looks like a good contender and it appears to support tilling (required to zoom on images without going OOM).
There is a complete image viewer made using vips, which could be useful to see how the zoom is implemented here.

Disregard what's written above. This can be achieved by subclassing Gdk.Texture. There are examples available in GTK4 Demo, Tuba and Extension Manager.

Related #11

@tfuxu tfuxu added enhancement New feature or request help wanted Extra attention is needed labels Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

1 participant