efl/legacy/ethumb
Vincent Torri 0ca1df4bfe and last one, put again ethumb tests in the source tree
If there is a problem with gentoo packagers, tell me.


SVN revision: 56198
2011-01-16 19:10:44 +00:00
..
data From: André Ribes <andre.ribes@gmail.com> 2010-10-25 04:10:19 +00:00
doc enable "make doc", improve doxygen support for client library. 2009-09-17 06:08:10 +00:00
m4 add file from andre. 2010-10-25 04:10:34 +00:00
src and last one, put again ethumb tests in the source tree 2011-01-16 19:10:44 +00:00
ABOUT-NLS ethumb - Thumbnailing Library 2009-03-30 21:22:52 +00:00
AUTHORS ethumb - Thumbnailing Library 2009-03-30 21:22:52 +00:00
BUGS ethumb - Thumbnailing Library 2009-03-30 21:22:52 +00:00
COPYING Changing Ethumb license from LGPL3 to LGPL2. 2010-09-14 23:02:45 +00:00
ChangeLog ethumb - Thumbnailing Library 2009-03-30 21:22:52 +00:00
Makefile.am Ethumb: make distcheck fixes 2010-09-02 20:12:08 +00:00
NEWS ethumb - Thumbnailing Library 2009-03-30 21:22:52 +00:00
README All packages should have README... 2010-02-13 13:28:32 +00:00
TODO todo... 2009-09-17 06:19:01 +00:00
autogen.sh Using autoreconf in autogen in ethumb is bad. With it, libtool m4 stuff is included inside dist tarball and we dont want that. 2010-01-20 19:13:22 +00:00
configure.ac and last one, put again ethumb tests in the source tree 2011-01-16 19:10:44 +00:00
ethumb.pc.in Move Ethumb headers to own directory. 2010-07-09 08:14:24 +00:00
ethumb_client.pc.in Move Ethumb headers to own directory. 2010-07-09 08:14:24 +00:00
org.enlightenment.Ethumb.service.in Added ethumbd (ethumb). 2009-06-04 21:21:43 +00:00

README

                Ethumb - Thumbnail generation library


FEATURES
========

 * create thumbnails with a predefined frame (possibly an edje frame);
 * have an option to create fdo-like thumbnails;
 * have a client/server utility.


API
===

It's possible to set the following properties of thumbnails:

 * size
 * format (jpeg, png, eet...)
 * aspect:
    * have crop?
    * crop alignment?
 * video:
    * video_time
 * document:
    * page
 * frame: edje file, group and swallow part to use when generating
   thumbnails
 * directory: directory where to save thumbnails
 * category: to be used as DIRECTORY/CATEGORY/md5.format

Path generation should provide the following:

 * If no path to save the thumbnail is specified, the following is used:
   * if CATEGORY, return ~/.thumbnail/CATEGORY/md5.format
   * else if size (128x128 or 256x256), format (png), aspect (keep
     aspect, no crop) and no frame matches, return
     ~/.thumbnail/{normal,large}/md5.png
   * else return WxH-FORMAT-[framed-]ASPECT

Client server provides the following:
 * multiple client support
 * per-client configuration, avoid exchanging parameters over and over
   again
 * per-client queue, when client disconnect (ie: dies), remove whole
   queue
 * all clients have same priority, so queue is mixed for processing
 * cancel thumb generation request
 * communication over (for now) dbus and (future) ecore-ipc and unix
   sockets
 * interface of client library is independent of the communication
   method selected