psyker-team / mist-v2

A watermarking tool to protect artworks from AIGC-driven style mimicry (e.g. LoRA)
https://mist-project.github.io/
Apache License 2.0
447 stars 21 forks source link

ignore case for image filename suffix #20

Closed AeroXi closed 10 months ago

AeroXi commented 10 months ago

有群友使用大写后缀名时无法读取,报错 统一处理为小写 为避免影响其他代码,仅在匹配文件名时转为小写