Generating Thumbnails for Nautilus using Gimp
Saturday, December 1, 2007 9:54:34 PM
I created a Thumbnailer Gimp Python Plugin (copy it into "~/.gimp-2.4/plug-ins" and make sure it is executable) that generates thumbnails for Nautilus using Gimp.
That's the first version (of something like this) which means:
* No automatic thumbnail generation, you have to call it via Nautilus Scripts or Nautilus Actions like:
gimp-console -i -n -f -d -s -b '(python-fu-thumbnailer RUN-NONINTERACTIVE "/your/path/here")'
or for Nautilus Actions:
gimp-console -i -n -f -d -s -b '(python-fu-thumbnailer RUN-NONINTERACTIVE "%d")'
* Didn't running inside of Gimp (toolbox)
* "Browse Images..." in Gimps image window isn't implemented yet
* no visual feedback at the moment how much thumbnails are generated








Frederik Elwertfreedo # Sunday, December 2, 2007 5:24:21 PM
I think it would be relatively easy to turn this into a "real" thumbnailer that would automatically be used by Nautilus for image previews. That way, you wouldn't have to execute the script manually. You could take the ODF-Thumbnailer as an example:
http://wiki.ubuntuusers.de/OpenDocument_Thumbnails
Eckhard M. Jägerarea42 # Sunday, December 2, 2007 7:06:14 PM
great idea! This Script is just the first step because my plan was a full integration into natilus and a "Browse Images" plugin for Gimp.
This helps me a lot! Thanks.
BTW: There is a Gimp procedure "gimp-file-save-thumbnail" that would be faster and using less memory instead of loading an image for thumbnail generation. But i didn't get it work
http://developer.gimp.org/api/2.0/libgimp/libgimp-gimpfileops.html#gimp-file-save-thumbnail
Anonymous # Thursday, December 20, 2007 8:20:32 PM
Anonymous # Thursday, December 20, 2007 8:33:06 PM
Eckhard M. Jägerarea42 # Thursday, December 20, 2007 11:27:57 PM
Anonymous # Tuesday, February 5, 2008 5:52:36 PM
Eckhard M. Jägerarea42 # Tuesday, February 5, 2008 6:18:46 PM
For what do you like to reuse it?
Anonymous # Saturday, February 23, 2008 5:35:14 PM
Anonymous # Thursday, September 4, 2008 9:12:33 PM
Anonymous # Thursday, December 24, 2009 3:40:50 AM
Eckhard M. Jägerarea42 # Thursday, December 24, 2009 1:10:18 PM
http://my.opera.com/area42/blog/thumbnailer-gnome-nautilus-desktop