ebook-thumbnailer

1.0 GPL v3    
4.0/5 1

  327 downloads

A Python script which generates thumbnails for some common ebook formats

description

download

specs

ebook-thumbnailer is a Python script which generates thumbnails for some common ebook formats.

The package also includes the needed schemas to be integrated with GNOME 3 Desktop but it should easily work with any other desktop enviroment.

Current supported formats are:

- .fb2
- .epub
- .pdf
- .mobi, .prc, .azw, .azw4
- .chm

Note that, as mobi_unpack is not usually provided by your OS, download it from MobileRead copy to your system and change line #160 in the script. Search MOBI section in source for more information.

You could even use PIL/Imaging instead of pygtk to create the image files. Code is already there, just comment/uncomment the proper lines in function create_thumb.

Installing

Download the file, copy binary and thumbnailers definition:

 cp ebook-thumbnailer.py /usr/local/bin
 cp {chm,epub,fb2,mobi}.thumbnailer /usr/share/thumbnailers


optionally (not needed as evince - GNOME default pdf viewer - already can create thumbs for .pdf files):

 cp pdf.thumbnailer /usr/share/thumbnailers

and restart nautilus.

Remember the extra step for mobi ebooks.
read more   
Last updated on May 26th, 2012

#ebook thumbnailer #thumbnail generator #ebook #thumbnailer #generator #thumbnail

ebook-thumbnailer

0 User reviews so far.

SUBMIT