修复相机拍照问题,优化水印和合成功能

- 修复 ImageCapture 未绑定相机导致的拍照失败问题
- 添加标题/内容文字样式配置支持
- 使用用户配置的水印样式和图片质量
- 修复 Compose API 兼容性问题 (HorizontalDivider, entries)
- 修复 Kotlin 版本兼容性问题
- 添加必要的依赖 (accompanist-permissions, coroutines-play-services)
This commit is contained in:
2026-02-28 17:12:13 +08:00
parent d8fe374a16
commit e8be0ef93f
15 changed files with 107 additions and 34 deletions

View File

@@ -137,12 +137,6 @@ object ImageProcessor {
val top = row * cellHeight
try {
val inputStream = imageItem.uri.path?.let { path ->
imageItem.uri.let { uri ->
inputStream
}
}
val sourceBitmap = BitmapFactory.decodeFile(imageItem.path)
?: return@forEachIndexed