1.4.0(1.3.3没了)
This commit is contained in:
5
new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/getxmlimg.py
Executable file → Normal file
5
new-deb-build/opt/apps/com.gitee.uengine.runner.spark/files/getxmlimg.py
Executable file → Normal file
@@ -50,13 +50,16 @@ class getsavexml():
|
||||
#获取所有带前后图片ID的图片路径(相同背景或者前景的图片ID但分辨率不一样)
|
||||
backimgs = Findpicpath(resourcelines,backimgid)
|
||||
foreimgs = Findpicpath(resourcelines,foreimgid)
|
||||
|
||||
print(backimgs)
|
||||
print(foreimgs)
|
||||
#获取分辨率最高的图片路径
|
||||
def getmaxsize(imgs):
|
||||
j = 0
|
||||
size=(0,0)
|
||||
zipapk = zipfile.ZipFile(apkFilePath)
|
||||
imgpath = ""
|
||||
while j < len(imgs):
|
||||
print(imgs[j])
|
||||
img = Image.open(zipapk.open(imgs[j]))
|
||||
print(imgs[j])
|
||||
print(img.size)
|
||||
|
||||
Reference in New Issue
Block a user