Exactness: Add compress parameter for shot image
Summary: The current shot image is very large. The exu file size is 3mb to 10mb We need to use compress if there is no error and loss when image compare. If we use to compress, the exu size is to be 100kb under. Test Plan: making exu using ea_gen tool and run test. Reviewers: JackDanielZ Reviewed By: JackDanielZ Subscribers: YOhoho, bowonryu, akanad, myoungwoon Differential Revision: https://phab.enlightenment.org/D7558
This commit is contained in:
parent
6c3942eab0
commit
5f2213917e
|
@ -342,7 +342,7 @@ exactness_unit_file_write(Exactness_Unit *unit, const char *filename)
|
||||||
sprintf(entry, "images/%d", i++);
|
sprintf(entry, "images/%d", i++);
|
||||||
eet_data_image_write(file, entry,
|
eet_data_image_write(file, entry,
|
||||||
ex_img->pixels, ex_img->w, ex_img->h, 0xFF,
|
ex_img->pixels, ex_img->w, ex_img->h, 0xFF,
|
||||||
0, 100, EET_IMAGE_LOSSLESS);
|
9, 100, EET_IMAGE_LOSSLESS);
|
||||||
}
|
}
|
||||||
eet_close(file);
|
eet_close(file);
|
||||||
eet_shutdown();
|
eet_shutdown();
|
||||||
|
|
Loading…
Reference in New Issue