GNOME Bugzilla – Bug 361488
How about eog-thumbnailer
Last modified: 2008-09-24 19:20:35 UTC
Hi, It would be nice if eog had a thumbnailer, like evince-thumbnailer or totem-video-thumbnailer. It would be useful for making thumbnails from scripts or for other programs to use etc, and would be a nice addition to the above thumnailers. Jonty.
Created attachment 79511 [details] [review] eog-thumbnailer This is a pretty simple thumbnailer. It only generates PNG files. I am not quite sure about the automake magic, nor the i18n bits. Could anyone give me comments about it?
I checked out cvs eog to try out the patch but it doesn't apply. I'd be interested in testing this if another patch was made available, as the above attachment does what I had in mind.
Jonty, I forgot to mention the above patch is for the eog-ng branch. I am sorry about it. You can test it by checking out from the svn branch called 'eog-ng'.
I've tried out the patch with eog-ng and it seems to work fine. The only comment I have is that the input and output need to be full pathnames, perhaps using gnome_vfs_make_uri_from_input_with_dirs instead of gnome_vfs_make_uri_from_input would make the thumbnailer easier to use. For example, doing 'eog-thumbnailer elbow.png out.png' on my machine fails because gnome-vfs thinks that out.png has a http: uri and so the mime-type is reported as octet-strem as opposed to png. Jonty.
I'll obsolete this now because I don't see much use in a thumbnailer that relies on GnomeThumbnail anyway, and also there is not much interest on this.