PhotoEditor

A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.

MIT License

Stars
4K
Committers
33

Bot releases are visible (Hide)

PhotoEditor - v.3.0.2 Latest Release

Published by burhanrashid52 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/burhanrashid52/PhotoEditor/compare/v.3.0.1...v.3.0.2

PhotoEditor - Coroutine support

Published by burhanrashid52 over 1 year ago

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

PhotoEditor - Kotlin Migration

Published by burhanrashid52 over 2 years ago

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.

PhotoEditor - Small Enhancements

Published by burhanrashid52 about 3 years ago

  • 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);
PhotoEditor - Shapes and Text Features

Published by burhanrashid52 over 3 years ago

  • 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.
PhotoEditor - Internal Refactoring

Published by burhanrashid52 over 3 years ago

  • 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.
PhotoEditor - Bug Fixes

Published by burhanrashid52 over 3 years ago

  • Fixed: #219 One selection at a time in
  • Fixed: #345 Set pinch to scale to text only
PhotoEditor - Replace deprecated `getDrawingCache` to capturing method

Published by burhanrashid52 over 3 years ago

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

PhotoEditor - Bug Fixes

Published by burhanrashid52 almost 4 years ago

  • Fixed : #263 and #57
  • New: Allowing PhotoEditor to extend with a protected constructor.
PhotoEditor - AndroidX Migration

Published by burhanrashid52 almost 5 years ago

  • New: Migrating the support libraries to AndroidX
  • New: Bumped target SDK version to 29
  • Test: Adding UI to test for the library
PhotoEditor - TextStyleBuilder and tests

Published by burhanrashid52 over 5 years ago

  • New : Added compress quality and format in save settings
  • New : Added Text style builder for add and edit text
  • New : Bumped support version to 28
  • Removed : All Deprecated methods
  • Test : Added test cases for BrushDrawingView with 100% code coverage
PhotoEditor - Brush Bug Fixed

Published by burhanrashid52 about 6 years ago

  • Fixed : Brush bug using PorterDuff.Mode.SRC_OVER #80 and PR #83
PhotoEditor - Bug Fixes

Published by burhanrashid52 about 6 years ago

  • New: Disable clearAllViews onSave #54 #49 #42 and PR #71
  • Fixed: ViewType in onRemoveViewListener() #50
  • Fixed: Wrong ViewType on onStartViewChangeListener #74
  • Fixed: clearHelperBox() #37
  • Fixed: Brush color changes after saving image #52
  • Fixed: Glide null bitmap issue #59
PhotoEditor - Major bug fix

Published by burhanrashid52 over 6 years ago

[Fixed] Image not saving #40

PhotoEditor - Added Image Filter Feature

Published by burhanrashid52 over 6 years ago

  • New : Add filter using mPhotoEditor.setFilterEffect(PhotoFilter.BRIGHTNESS); #4
  • New : Add Custom filter using CustomEffect
CustomEffect customEffect = new CustomEffect.Builder(EffectFactory.EFFECT_BRIGHTNESS)
                .setParameter("brightness", 0.5f)
                .build();
mPhotoEditor.setFilterEffect(customEffect);
  • Change : saveImage(String, OnSaveListener) is deprecated use saveAsFile(String, OnSaveListener)
  • New : You can save image as bitmap by using saveAsBitmap(String, OnSaveListener) #9 #19
  • Fixed : save image without transparency #35
PhotoEditor - Duplicate Source Issue Fixed

Published by burhanrashid52 over 6 years ago

Changed app:src="@drawable/got_s" to app:photo_src="@drawable/got_s" in PhotoEditorView

Package Rankings
Top 11.77% on Repo1.maven.org
Badges
Extracted from project README
Downloads JavaDoc Uplabs AndroidArsenal AndroidDevDigest AwesomeAndroid AndroidWeekly Mindorks Twitter Medium Facebook Lesson Learned from building successful android library PhotoEditor
Related Projects