geeqie
geeqie copied to clipboard
tumbnail size selector
would it be troublesome too much to implement different size selectors for thumbnail generation and for the size that geeqie uses for its thumbnail view pane?
the rationale behind this is as such- dolphin and nautilus are extremely slow when browsing a folder with tens of thousands(yes, really) of thumbnails, and they are also unnecessary when you can just use geeqie- the better image manager and viewer.
however. currently setting tumbs to 256x256(so that you can actually perceive them) also generates them at 256x256, which makes geeqie eat huge amounts of ram, disk space, and also slows down gtk that i route to these thumbs for its file pickers, as having separate thumbnailer would be pointless and awkward when geeqie already does this.
so ability to set thumbs displaying size to 256 and actual file size to 64 would be very useful. i'm ready to accept lesser quality if it saves me 6gb ram and half the ssd.
Maybe a png compressor could be used.
The compression option for gdk_pixbuf_save() gives an insignificant reduction in size.
i still just do
--- a/src/thumb_standard.c 2018-03-07 13:33:53.000000000 +0300
+++ a/src/thumb_standard.c 2018-03-13 19:38:15.174878706 +0300
@@ -52,7 +52,7 @@
#define THUMB_SIZE_NORMAL 128
-#define THUMB_SIZE_LARGE 256
+#define THUMB_SIZE_LARGE 128
#define THUMB_MARKER_URI "tEXt::Thumb::URI"
#define THUMB_MARKER_MTIME "tEXt::Thumb::MTime"
@@ -469,12 +469,6 @@
}
}
- if (sw <= tl->requested_width && sh <= tl->requested_height)
- {
- result = pixbuf;
- g_object_ref(result);
- }
- else
{
gint thumb_w, thumb_h;
``