jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/tools/exactness.git/commit/?id=5f2213917e81e4570b20466fd8a4dbf5363e0d85

commit 5f2213917e81e4570b20466fd8a4dbf5363e0d85
Author: JunsuChoi <[email protected]>
Date:   Mon Jan 28 22:19:29 2019 +0200

    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
---
 src/lib/unit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/unit.c b/src/lib/unit.c
index 51f3453..c09e3b9 100644
--- a/src/lib/unit.c
+++ b/src/lib/unit.c
@@ -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();

-- 


Reply via email to