修复相机拍照问题,优化水印和合成功能
- 修复 ImageCapture 未绑定相机导致的拍照失败问题 - 添加标题/内容文字样式配置支持 - 使用用户配置的水印样式和图片质量 - 修复 Compose API 兼容性问题 (HorizontalDivider, entries) - 修复 Kotlin 版本兼容性问题 - 添加必要的依赖 (accompanist-permissions, coroutines-play-services)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user