tfuxu / Halftone

Give your images that pixel art-like style
GNU General Public License v3.0
97 stars 16 forks source link

Implement zoom for previews #38

Open tfuxu opened 10 months ago

tfuxu commented 10 months ago

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