On Mon, May 24, 2010 at 5:40 PM, Rafael Fonseca <[email protected]> wrote:
> Guys,
>
> I want to use evas to resize an image file. I'm using the attached program,
> but it's saving a black rectangle instead of the resized image. Can someone
> point me what I'm doing wrong?

Nicolas might have found it, but next time copy the code from
http://trac.enlightenment.org/e/wiki/EFLRecipes/Thumbnailer

Or even better, although Ethumb main target is creating thumbnails at
~/.thumbnails, it can create images of any size anywhere, so just use
it and avoid doing lots of work to avoid your application to block
while it renders and then save... during that the app will queue X11
events in the socket and the mess is done.

IOW: use Ethumb daemon and client API.

BR,

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------

_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to