Commit 25dedb6a by sikang

update script

parent 2553a234
...@@ -382,7 +382,7 @@ class Function: ...@@ -382,7 +382,7 @@ class Function:
self.update_properties(config, lines) self.update_properties(config, lines)
def crop_logo(self,config): def crop_logo(self,config):
img_avg = Image.open(logo_path) img_avg = Image.open("/Users/connor/Documents/apks/logo.png")
logo_h = img_avg.size[1] * (512/img_avg.size[0]) logo_h = img_avg.size[1] * (512/img_avg.size[0])
top_h = img_avg.size[1] * (1024/img_avg.size[0]) top_h = img_avg.size[1] * (1024/img_avg.size[0])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment