if (pSurfaceImpl->__isImageObject)
{
- evas_object_image_size_get(pImageObject, &imageWidth, &imageHeight);
- evas_object_image_data_update_add(pImageObject, 0, 0, imageWidth, imageHeight);
+ const char* pName = null;
+ evas_object_image_file_get(pImageObject, &pName, null);
+ if (!pName)
+ {
+ evas_object_image_size_get(pImageObject, &imageWidth, &imageHeight);
+ evas_object_image_data_update_add(pImageObject, 0, 0, imageWidth, imageHeight);
+ }
}
}