evas/common: improve evas_common_convert_argb_unpremul() computation.
authorChunEon Park <chuneon.park@samsung.com>
Mon, 6 Apr 2015 12:58:07 +0000 (21:58 +0900)
committerChunEon Park <chuneon.park@samsung.com>
Mon, 6 Apr 2015 13:02:49 +0000 (22:02 +0900)
commit7a6eb2ea428b6dd7b02ae9cfbe4275f9a6fe612a
treeb9c1d801c2f2ab35e2b164229462c5a6a2797ec6
parentf419555cd82d324d19ad81bee4f03fcbe87d4f49
evas/common: improve evas_common_convert_argb_unpremul() computation.

prev logic increased the alpha channel by 1 so the unpremul resulted in the color got too diff from the origin.

We can't avoid losing the rest values while dividing values in premul/unpremul()
but this will recover the value better closed to origin value.
src/lib/evas/common/evas_convert_color.c