allow opening webp files
This commit is contained in:
parent
c573b8abf1
commit
ef3918c2f9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue