On Sat, 12 Feb 2011, John Dovers wrote:

>
>>
>>> About my question, I found out that evas_object_image_load_error_get(the 
>>> object) returns:
>>>
>>> EVAS_LOAD_ERROR_UNKNOWN_FORMAT
>>>
>>> What could be a reason for that?
>>
>> That could be one reason.
>>
>> 1) You use the 'buffer' engine, so you will not be able to display the
>> content of the canvas
>
> I am using the buffer render engine:
>
> method = evas_render_method_lookup("buffer");
>
> It is not possible to display images when using that engine?

the buffer engine is intended to do canvas stuff internally. If you're 
using linux with X Window (xorg for example), then you have to:

a) initialize X Window connection
b) create a window
c) create and initializing the canvas with the window

To see a complete example without using ecore, look at expedite source 
code (expedite/src/bin/engine_software_xlib.c)

>> 2) if there is such error, then be sure that the png loader is available.
>
> How can I verify it is indeed loaded?

first check it is installed ($prefix/lib/evas/modules/engines)

if it is installed, then you can look at the possible errors with logs:

EINA_LOG_LEVEL=5 ./my_app

Vincent

>
>>
>> btw, are you sure that you init evas (silly question, but it happens to
>> me...)
>
>
> Yup :) happened to me before also.
>

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to