- Change :
app:src="@drawable/got_s"
to app:photo_src="@drawable/got_s"
in PhotoEditorView
- New : Add filter using
mPhotoEditor.setFilterEffect(PhotoFilter.BRIGHTNESS);
- 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)
- Fixed : save image without transparency #35
- Fixed: Image not saving #40
- 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
- Fixed : Brush bug using PorterDuff.Mode.SRC_OVER #80 and PR #83
- New : Added compress quality and format in save settings
SaveSettings saveSettings = new SaveSettings.Builder()
.setCompressFormat(compressFormat)
.setCompressQuality(compressQuality)
.build();
- New : Added Text style builder for add and edit text
new TextStyleBuilder()
.withTextColor(123)
.withTextSize(12f)
.withGravity(3)
.withTextFont(Typeface.DEFAULT)
.withBackgroundColor(321)
.withTextAppearance(144)
.applyStyle(textView);
- New : Bumped support version to 28
- Removed : All Deprecated methods
- Test : Added test cases for
BrushDrawingView
with 100% code coverage
- New : Migrating the support libraries to AndroidX
- New : Bumped target sdk version to 29
- Test : Adding UI to test for the library