Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

依赖包升级和一些逻辑修复 #69

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

huj13k4n9
Copy link

@huj13k4n9 huj13k4n9 commented Nov 9, 2023

  • install.ps1下载的exiftool是用于Linux的tar.gz压缩包,将其修改为下载Windows的zip包
  • 添加了三星手机/相机的Logo,修改了Apple Logo的尺寸,以及配置文件中的对应项
  • 将项目的依赖升级至最新,解决了在较新版本Python上依赖版本过老的问题(更新后的代码Python 3.9-3.12上测试均可以正常运行)
  • 修复了新版本库里的一些缺失的api
  • 修复了等效焦距在图片上的显示问题,由于ImageContainer类在初始化的时候不会从配置文件中读取use_equivalent_focal_length,而是直接初始化为False,所以即使设置了使用等效焦距,实际在照片上显示的数字仍为实际焦距
  • 修复了生成的字体图片向下偏移的问题:
    • 修改前:生成的文字图片顶部有padding,直接从(0,0)开始绘制会导致文字的位置在底部而非居中,如下图
      Screenshot_20231111_015247_Gallery
    • 修改后,在绘制文字的时候考虑到了顶部的padding问题,使得生成的文字图片中文字处于居中位置,如下图
      Screenshot_20231111_015258_Gallery

Copy link

@LordCasser LordCasser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants