Download Latest Version v.3.0.2 source code.zip (13.0 MB)
Email in envelope

Get an email when there's a new version of PhotoEditor

Home / v.3.0.0
Name Modified Size InfoDownloads / Week
Parent folder
Coroutine support.tar.gz 2023-02-16 12.9 MB
Coroutine support.zip 2023-02-16 13.0 MB
README.md 2023-02-16 723 Bytes
Totals: 3 Items   25.9 MB 0

New : Arrow shape Change : (Breaking Change) minSdkVersion changed to 21 Change : (Breaking Change) Shape names are no longer UPPERCASE New : Suspending functions for saving images: saveAsFile(String[, SaveSettings]) and saveAsBitmap([SaveSettings])

:::kotlin
// Please note that if you call this from a fragment, you should call
// 'viewLifecycleOwner.lifecycleScope.launch' instead.
lifecycleScope.launch {
    val result = photoEditor.saveAsFile(filePath)
    if (result is SaveFileResult.Success) {
        showSnackbar("Image saved!")
    } else {
        showSnackbar("Couldn't save image")
    }
}

Fixed : [#374] IndexOutOfBoundsException when saving bitmap

Source: README.md, updated 2023-02-16