Files
kenaito-media-picker/application.properties
T
odboy 66faed75a2 feat: 增加 EXIF 旋转图片自动转正
- 解析 JPEG EXIF Orientation,方向 5/6/7/8 的竖拍横存图不再误入横屏目录
- 配置 ffmpeg 时用 ffmpeg 物理转正像素并保留原 EXIF;无 ffmpeg 时按显示方向归类
- 新增 ffmpeg.path / organize.rotateImages 配置项
- 补充 EXIF 解析与旋转幂等测试
2025-05-19 21:15:58 +08:00

12 lines
613 B
Properties
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Web 服务基础配置(cmd/server/main.go 使用,CLI 整理功能不读取)
appname=kenaito-media-picker
server.port=8080
# 启动后自动打开浏览器(false 则不自动打开)
server.autoOpen=true
# 媒体信息数据库路径;留空或相对路径时相对服务启动目录(如 media-info.db)
database.dsn=media-info.db
# ffmpeg 程序路径(用于把带 EXIF 旋转标记的图片转正);留空自动在 PATH 里找
ffmpeg.path=
# 整理时是否自动转正带 EXIF 旋转标记的图片(true=是,默认;false=只按显示方向归类不转正)
organize.rotateImages=true