forked from enlightenment/enlightenment
use new load opts for e_thumb. 1 line of code... and we get epeg-like speeds
:) yay! SVN revision: 24894
This commit is contained in:
parent
e2d14dc0a0
commit
b4109940bd
|
@ -345,6 +345,7 @@ _e_thumb_generate(E_Thumb *eth)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
im = evas_object_image_add(evas);
|
im = evas_object_image_add(evas);
|
||||||
|
evas_object_image_load_size_set(im, eth->w, eth->h);
|
||||||
evas_object_image_file_set(im, eth->file, NULL);
|
evas_object_image_file_set(im, eth->file, NULL);
|
||||||
iw = 0; ih = 0;
|
iw = 0; ih = 0;
|
||||||
evas_object_image_size_get(im, &iw, &ih);
|
evas_object_image_size_get(im, &iw, &ih);
|
||||||
|
|
Loading…
Reference in New Issue