allow opening webp files

This commit is contained in:
tibbi 2023-01-20 18:16:03 +01:00
parent c573b8abf1
commit ef3918c2f9
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ class MainActivity : SimpleActivity(), CanvasListener {
defaultExtension = SVG
true
}
"jpg", "jpeg", "png", "gif", "image/jpg", "image/png", "image/gif" -> {
"jpg", "jpeg", "png", "gif", "image/jpg", "image/png", "image/gif", "webp" -> {
my_canvas.drawBitmap(this, uri)
defaultExtension = JPG
true