Commit Graph

22 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 980d778e39 ethumbd_client.
do the same as ethumb, but uses ethumbd for doing it. Yet another
sample on ethumb usage.



SVN revision: 41401
2009-07-17 15:29:44 +00:00
Gustavo Sverzut Barbieri 7acfd6d648 fix theme/frame parsing to not leak and be simpler.
we don't need to allocate memory, copy, modify and free (free was
missing!), we can just give stringshare the length to use.



SVN revision: 41398
2009-07-17 14:48:03 +00:00
Gustavo Sverzut Barbieri 6aa85b1cf9 indent.
SVN revision: 41397
2009-07-17 14:44:11 +00:00
Gustavo Sverzut Barbieri ebcc27e426 improve tool usage.
-Q, -V, -D: change debug levels, always forget about EINA_ERROR_LEVEL :-P

 print message with status, if it failed, was generated or already exists.



SVN revision: 41374
2009-07-16 22:55:05 +00:00
Rafael Antognolli 31fc2b0dfa Added support to creating animated thumbnails from videos.
These thumbnails are generated using an edje template. Each thumbnail is
an edje file, that has a group called "movie/thumb"
The thumbnail can be animated by receiving a signal "animate" or "animate_loop"
(the last one being a loop animation that calls itself when finished), and
the animate_loop program can be stopped by receiving a signal "animate_stop".
The transition time is set based on the time of the animation (that is set
by the call ethumb_video_time_set()).



SVN revision: 41322
2009-07-13 19:38:17 +00:00
Rafael Antognolli 2dd7e38b96 Changing boolean flags to Eina_Bool.
SVN revision: 41321
2009-07-13 19:24:20 +00:00
Rafael Antognolli 116c7d3266 Fixed wrong usage of dbus.
This was also the problem causing ethumb generated callback on the client
library always return with success=1 (see ticket #337).



SVN revision: 41287
2009-07-09 19:26:16 +00:00
Rafael Antognolli f9b765ec1c Added support to set quality and compress level.
SVN revision: 41286
2009-07-09 19:16:02 +00:00
Rafael Antognolli 5dc0fa41ef Added support to free_data callbacks.
Some functions that require callbacks and data passed to them now can
receive a free_data callback as argument too.



SVN revision: 41285
2009-07-09 19:14:29 +00:00
Rafael Antognolli aac69a080f Added ethumbd (ethumb).
ethumbd is a server waiting for requests of thumbnails via dbus. A client
library is also provided, avoiding dbus burocracy (and with an API similar
to ethumb).



SVN revision: 40899
2009-06-04 21:21:43 +00:00
Rafael Antognolli 4229b4654b Fixed segfault when no file is passed as argument to ethumb.
Other minor fixes:
 - fixed use fo eina safety checks;
 - _ethumb_build_absolute_path is used inside dir_set.



SVN revision: 40840
2009-05-26 20:33:58 +00:00
Rafael Antognolli 053567b366 Changed Eina_Bool result -> Eina_Bool success (it makes more sense).
SVN revision: 40740
2009-05-19 13:18:51 +00:00
Rafael Antognolli 88d97839a1 Using Eina_Bool.
Changed int -> Eina_Bool where it makes sense.



SVN revision: 40739
2009-05-19 12:26:31 +00:00
Rafael Antognolli 16c574df94 finished callback is always called now.
The ethumb_generate() function now just returns 0 if there is already a
generation in progress (and in that case, the callback isn't called).



SVN revision: 40738
2009-05-19 11:58:29 +00:00
Rafael Antognolli b9cd220600 Added function ethumb_exists() and some API change.
SVN revision: 40282
2009-04-21 23:11:37 +00:00
Rafael Antognolli 8511aa2bd9 There is no more Ethumb_File.
Now the file path and thumbnail path are stored in the Ethumb structure.



SVN revision: 40280
2009-04-21 23:08:17 +00:00
Rafael Antognolli 939afcb3ea Added epdf plugin.
Err... maybe I forgot to svn add some files in my previous commit...



SVN revision: 40277
2009-04-21 23:03:50 +00:00
Rafael Antognolli 89b7a6be80 Added support to plugins.
Now it's possible to implement new plugins that generate thumbnails
from file formats that evas doesn't.



SVN revision: 40156
2009-04-17 23:33:45 +00:00
Rafael Antognolli 59ac58e4ca Fixed a possible segfault when file doesn't exists.
SVN revision: 40155
2009-04-17 23:31:41 +00:00
Rafael Antognolli a95c0b221f Now ethumb read from and saves to eet files.
SVN revision: 40050
2009-04-14 19:14:08 +00:00
Rafael Antognolli 85db59b8cf Changed bin/ethumb to use Ecore_Getopt.
SVN revision: 40027
2009-04-13 22:25:09 +00:00
Rafael Antognolli 258cfee990 ethumb - Thumbnailing Library
New library to generate thumbnails.
There are still some important features to be implemented, like
client-server framework, edje thumbnails and a plugin API to integrate
it with emotion and like.

Please, send comments.



SVN revision: 39805
2009-03-30 21:22:52 +00:00