Skip to content

Releases: burhanrashid52/PhotoEditor

v.3.0.2

04 Mar 07:39
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v.3.0.1...v.3.0.2

Coroutine support

17 Feb 15:01
Compare
Choose a tag to compare

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])

// 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

Kotlin Migration

22 Jan 04:42
Compare
Choose a tag to compare

PhotoEditor v.2.0.0 is fully migrated to Kotlin. You can use v.1.5.1 for the Java version. There are no breaking API changes in these two versions.

Small Enhancements

31 Jul 03:08
Compare
Choose a tag to compare
  • New : #379 Should disallow drawing on left or right of the image using photoEditor.setClipSourceImage(true)
  • New/Break : #383 Get a callback when the image source is touched onTouchSourceImage(MotionEvent event);

Shapes and Text Features

10 Jul 02:56
Compare
Choose a tag to compare
  • Deprecated : setBrushSize() , setOpacity() and setBrushColor. Use ShapeBuilder
  • New : Drawing Shapes using ShapeBuilder. Support Line, Brush, Oval and Rectangle out of the box.Deprecated
  • New : Allowing to add text shadow using TextStyleBuilder.withTextShadow()
  • New : Underline, strike out text.

Internal Refactoring

25 May 05:32
Compare
Choose a tag to compare
  • Fixed : #351 Internal Refactoring
  • Removed: (Breaking Change) PhotoEditor.getEmoji() is no longer part of the library and it's now moved to the sample app.

Bug Fixes

10 May 15:30
Compare
Choose a tag to compare
  • Fixed: #219 One selection at a time in
  • Fixed: #345 Set pinch to scale to text only

Replace deprecated `getDrawingCache` to capturing method

13 Mar 02:24
Compare
Choose a tag to compare

Replace deprecated getDrawingCache with capturing method. - getDrawingCache is deprecated.

Bug Fixes

01 Nov 02:57
Compare
Choose a tag to compare
  • Fixed : #263 and #57
  • New: Allowing PhotoEditor to extend with a protected constructor.

AndroidX Migration

12 Dec 04:41
a3b3267
Compare
Choose a tag to compare
  • New: Migrating the support libraries to AndroidX
  • New: Bumped target SDK version to 29
  • Test: Adding UI to test for the library