streetcomplete / StreetComplete

Easy to use OpenStreetMap editor for Android
https://streetcomplete.app
GNU General Public License v3.0
3.82k stars 348 forks source link

Ability to draw/censor on pictures before being uploaded #5042

Open rugk opened 1 year ago

rugk commented 1 year ago

Use case If I take a note and attach a picture there…

Proposed Solution

Just another button on the image (maybe only/also when shown in full screen) that opens an editor to edit the image. There some basic features like a pen and a redact tool somehow.

Related art:

Alternatives

This has been partially requested in https://github.com/streetcomplete/StreetComplete/issues/937 and https://github.com/streetcomplete/StreetComplete/issues/1730, but no issue really covered the thing I wanted in the title, these were rather alternatives. Also these proposals were long ago, maybe it's easier and better to do nowadays. I also know pictures are deleted, but anyway, they are already up there and people want privacy or the thing to mark stuff. IMHO that would greatly increase the picture upload benefit.

Differences:

mnalis commented 1 year ago
westnordost commented 1 year ago

Maybe there is a library for this we could use. Does anyone know one?

rugk commented 1 year ago

Random first search showed me https://github.com/burhanrashid52/PhotoEditor, though it may be a little too advanced/has a lot more features than needed, apparently. (Otherwise it looks good, its Kotlin etc. and seems maintained, but I am no android dev)

Edit: and looked through Threema's third party licenses in the app and only found https://github.com/ArthurHub/Android-Image-Cropper which may be related, but is only part of a functionality (though one I missed which could be useful, too.)

Helium314 commented 1 year ago

Maybe it would be possible to take some code from Simple Draw?

mnalis commented 4 weeks ago

Related: EveryDoor since 5.0 supports GeoScribble, so perhaps something similar to that is interesting / can be reused?