Hello~~

I implement scale down decoding feature of bmp loader using down sample
algorithm.
Desktop have low risk to go wrong memory problem during big image decoding, 
but mobile device is different.

Raster said it is life (meet memory problem during big image decoding),
and it is enough to return decoding fail.

But I think it seems a bit harsh,
because 2 or 3 bmp image (5000X5000 size: for example) 
can cause application close because of memory lack.   

I only deal with 16,24,32 bit count type of bmp(related with scale down), 
because Bmp file size of this bit count is more big than 1,2,4 or 8 bit
count file size.
It is take so much time to deal with all bit count type, 
so I'll deal with small bit count later(after adding scale down feature to
png and gif file type).

I attach sample code test scale down feature.
[Usage]
#hello [file name] [scale num(option: default=8)]

Thanks.  
 
----------------------------------------------
Jiyoun Park
 
Mobile S/W Platform Lab
DMC R&D Center
SAMSUNG ELECTRONICS CO. ,LTD
 
TEL: +82-31-279-0619
Mobile: +82-10-9871-0703
[email protected]
----------------------------------------------




Attachment: evas_bmp_loader_scale_down_feature.patch
Description: Binary data

Attachment: t.c
Description: Binary data

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to