Skip saving original when processing gallery images
Gallery imports already have the original on-device, so only save the tilt-shift processed version. Camera captures continue saving both versions since the original only exists in memory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
efe406f0b0
commit
dedf445cf6
1 changed files with 2 additions and 3 deletions
|
|
@ -225,9 +225,8 @@ class ImageCaptureHandler(
|
||||||
|
|
||||||
val thumbnail = createThumbnail(processedBitmap)
|
val thumbnail = createThumbnail(processedBitmap)
|
||||||
|
|
||||||
val result = photoSaver.saveBitmapPair(
|
val result = photoSaver.saveBitmap(
|
||||||
original = originalBitmap,
|
bitmap = processedBitmap,
|
||||||
processed = processedBitmap,
|
|
||||||
orientation = ExifInterface.ORIENTATION_NORMAL,
|
orientation = ExifInterface.ORIENTATION_NORMAL,
|
||||||
location = location
|
location = location
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue