diff --git a/README.md b/README.md index b36c035..64f350c 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ ![1.2.0](https://images.gitee.com/uploads/images/2021/0606/115536_0c0ddf38_7896131.png) ### 源码安装教程 - +按下 Ctrl+Alt+T 打开终端,按以下内容操作: 1. 安装所需依赖 ```bash @@ -85,7 +85,13 @@ pip3 uninstall ttkthemes 如果出现故障,尝试终端运行,如果是可以自行解决的问题,就**自行解决**,如果可以就**提 issues 并提供解决方案**,不行就**提 isscue 并提供程序和终端报错以及程序版本** ### 已知问题 -暂未发现 +![Error](https://storage.deepin.org/thread/202108101105396531_截图___tk__messagebox_20210810110449.png) +部分 app 无法读取出图片,已知: +| 程序 | 下载链接 | +| :-: | :-: | +| Firefox For Android | https://www.firefox.com.cn/download/ | +| 其他待测试…… | 其他待测试…… | + ### 贡献 我非常欢迎大家的贡献 diff --git a/__pycache__/getxmlimg.cpython-37.pyc b/__pycache__/getxmlimg.cpython-37.pyc index 910c43c..2ebe3bd 100644 Binary files a/__pycache__/getxmlimg.cpython-37.pyc and b/__pycache__/getxmlimg.cpython-37.pyc differ diff --git a/getxmlimg.py b/getxmlimg.py index dd5495e..af59a70 100644 --- a/getxmlimg.py +++ b/getxmlimg.py @@ -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) diff --git a/示例/a.png b/示例/a.png new file mode 100644 index 0000000..8f64ffb Binary files /dev/null and b/示例/a.png differ