diff options
author | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2013-01-12 01:15:45 +0000 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2013-01-12 01:15:45 +0000 |
commit | 34f53151414bcdf44ec81e582b007f74da595694 (patch) | |
tree | 863058f0d94e9d39998774a375aa6d242d8714a4 /old/README.ethumb | |
parent | ae51833bac7ba5f72bd40a96beb13081c8d573f6 (diff) | |
download | efl-34f53151414bcdf44ec81e582b007f74da595694.tar.gz |
merge ethumb.
This one was a painful bitch. The edbus2 port was quite broken, mainly
leaking eina_stringshare and also not adding the '\0' to the strings
that are represented as bytearray (paths cannot be utf8 to avoid
translations).
Emotion plugin was also quite bogus and the video thumbnail as edje
(animated) is not working yet due bug in Edje_Edit api -- someone
needs to investigate this, seems strange.
Emotion plugin also had a bug that it was deleting the object from
inside object callback.
Now it seems to work. Please report if it does not.
SVN revision: 82675
Diffstat (limited to 'old/README.ethumb')
-rw-r--r-- | old/README.ethumb | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/old/README.ethumb b/old/README.ethumb new file mode 100644 index 0000000000..3494520e83 --- /dev/null +++ b/old/README.ethumb @@ -0,0 +1,69 @@ +Ethumb 1.7.99 + +****************************************************************************** + + FOR ANY ISSUES PLEASE EMAIL: + enlightenment-devel@lists.sourceforge.net + +****************************************************************************** + +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 + +------------------------------------------------------------------------------ +COMPILING AND INSTALLING: + + ./configure + make +(do this as root unless you are installing in your users directories): + make install + |