Evas: fix gif bug related with scale down decode.
This commit is contained in:
parent
8aea52b847
commit
ccea9eca41
|
@ -1,3 +1,7 @@
|
||||||
|
2013-04-14 Jiyoun Park
|
||||||
|
|
||||||
|
* Evas: fix gif bug related with scale down decode.
|
||||||
|
|
||||||
2013-04-14 Jiyoun Park
|
2013-04-14 Jiyoun Park
|
||||||
|
|
||||||
* Evas: fix gif decoding bug related with background color.
|
* Evas: fix gif decoding bug related with background color.
|
||||||
|
|
3
NEWS
3
NEWS
|
@ -240,5 +240,6 @@ Fixes:
|
||||||
* Edje entry: When cursor is located to each edge, entry now doesn't grab events for cursor movement.
|
* Edje entry: When cursor is located to each edge, entry now doesn't grab events for cursor movement.
|
||||||
* Evas map: don't be crashed even if image size is 0.
|
* Evas map: don't be crashed even if image size is 0.
|
||||||
* Evas: Don't update evas update area by the clipper if the image obj visible is changed.
|
* Evas: Don't update evas update area by the clipper if the image obj visible is changed.
|
||||||
* Evas: fix gif decoding bug related with background color.
|
* Evas: fix gif decoding bug related with background color.
|
||||||
|
* Evas: fix gif bug related with scale down decode.
|
||||||
|
|
||||||
|
|
|
@ -548,9 +548,9 @@ _evas_image_load_frame_image_data(Image_Entry *ie, GifFileType *gif, Image_Entry
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
r = cmap->Colors[rows[i1][j1]].Red;
|
r = cmap->Colors[rows[i1][j1 * scale_ratio]].Red;
|
||||||
g = cmap->Colors[rows[i1][j1]].Green;
|
g = cmap->Colors[rows[i1][j1 * scale_ratio]].Green;
|
||||||
b = cmap->Colors[rows[i1][j1]].Blue;
|
b = cmap->Colors[rows[i1][j1 * scale_ratio]].Blue;
|
||||||
*ptr++ = ARGB_JOIN(0xff, r, g, b);
|
*ptr++ = ARGB_JOIN(0xff, r, g, b);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue