Tommy-Geenexus / exif-eraser

Permissionless image metadata erasing application for Android
MIT License
205 stars 4 forks source link

Auto delete option doesn't work #84

Closed albotroz closed 2 months ago

albotroz commented 3 months ago

Although legacy image selection is activated with Auto delete, a copy is created after exif deletion and the original is not deleted. This results in duplicate images.

Tommy-Geenexus commented 3 months ago

Android is restrictive with respect to what can be deleted and what not. Deleting an image that was selecting from within the app will succeed (with legacy im. sel.), but attempting to delete an image shared to the app will not work in many cases due to missing permissions. Did you attempt to share the image to the app, and if so which app did you use?

Tommy-Geenexus commented 3 months ago

To clarify: Deletion will only work from images selected from within ExifEraser, i decided not to implement broader handling as many gallery apps won't grant write permissions required for image deletion

albotroz commented 3 months ago

Android is restrictive with respect to what can be deleted and what not. Deleting an image that was selecting from within the app will succeed (with legacy im. sel.), but attempting to delete an image shared to the app will not work in many cases due to missing permissions. Did you attempt to share the image to the app, and if so which app did you use?

I tried it with LineageOS's built-in file explorer, image viewer "Gallery", Material Files (my main file explorer) and Aves (my main image viewer).

Tommy-Geenexus commented 2 months ago

I've tested with some of these apps, deletion is not possible due to restrictive uri access, so there is nothing that can be done to resolve this.