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:
junsu choi 2019-01-28 22:19:29 +02:00 committed by Daniel Zaoui
parent 6c3942eab0
commit 5f2213917e
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ exactness_unit_file_write(Exactness_Unit *unit, const char *filename)
sprintf(entry, "images/%d", i++);
eet_data_image_write(file, entry,
ex_img->pixels, ex_img->w, ex_img->h, 0xFF,
0, 100, EET_IMAGE_LOSSLESS);
9, 100, EET_IMAGE_LOSSLESS);
}
eet_close(file);
eet_shutdown();