Need help with Imaging?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

minetsh
615 Stars 114 Forks 38 Commits 21 Opened issues

Description

Android Image Edit Lib. Android 图片编辑库,微信图片编辑库

Services available

!
?

Need anything else?

Contributors list

# 91,380
Java
Android
37 commits

Imaging

一款图片编辑类库,功能类似微信中图片编辑功能,其主要目标用于聊天中快速编辑图片。

Summary

包含以下主要功能:

  • 缩放
  • 涂鸦
  • 文字
  • 马赛克
  • 裁剪
  • 旋转

Usage

implementation project(':image')

参考Sample示例

Sample

fun onChooseImages(uri: Uri, saveToPath: String) {
   startActivityForResult(
           Intent(this, IMGEditActivity::class.java)
                   .putExtra(IMGEditActivity.EXTRA_IMAGE_URI, image.uri)
                   .putExtra(IMGEditActivity.EXTRA_IMAGE_SAVE_PATH, saveToPath),
           REQ_IMAGE_EDIT
   )
}

override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { when (requestCode) { REQ_IMAGE_EDIT -> { if (resultCode == Activity.RESULT_OK) { onImageEditDone() } } } }

fun onImageEditDone() { // TODO do some thins }

Blog

About

我的微信

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.