Commit Graph

10 Commits

Author SHA1 Message Date
Přemysl Eric Janouch a6972e4c6e
Don't hardcode the background colour
It can be now overriden in the user's gtk.css.
2021-10-17 12:48:15 +02:00
Přemysl Eric Janouch fa7b1631f0
Round coordinates for image centring 2021-10-16 10:07:32 +02:00
Přemysl Eric Janouch 70a4729f36
Use bilinear filtering
It could be both faster and more accurate,
though currently it's a good compromise.
2021-10-16 10:04:50 +02:00
Přemysl Eric Janouch cc29f80bb2
Zoom with the scroll wheel 2021-10-12 08:10:57 +02:00
Přemysl Eric Janouch e4d1e50c4a
Split out image loaders into fastiv-io.c 2021-09-20 00:32:25 +02:00
Přemysl Eric Janouch c8d408b428
Check the status of new Cairo surfaces properly 2021-09-18 13:52:52 +02:00
Přemysl Eric Janouch aae6fd4d8b
Add internal support for image scaling 2021-09-17 20:40:11 +02:00
Přemysl Eric Janouch ddcc878424
Make the background black, center the image
It might be a good idea to make the colour adjustable, at least being
able to switch to white, for certain partly-transparent pictures.
2021-09-16 20:14:06 +02:00
Přemysl Eric Janouch 913267724a
Add RAW support using LibRaw 2021-09-16 15:51:01 +02:00
Přemysl Eric Janouch 97781f6af4
Initial commit 2021-09-15 17:30:16 +02:00