{"id":13989057,"url":"https://github.com/bevy/photo-editor-android","last_synced_at":"2025-07-22T10:30:57.418Z","repository":{"id":41191696,"uuid":"93094953","full_name":"bevy/photo-editor-android","owner":"bevy","description":"Photo Editor SDK contains a lot of features like edit, scale, rotate and draw on images like Instagram stories.","archived":false,"fork":false,"pushed_at":"2020-06-15T07:33:43.000Z","size":7468,"stargazers_count":549,"open_issues_count":32,"forks_count":188,"subscribers_count":39,"default_branch":"master","last_synced_at":"2024-11-29T07:37:10.862Z","etag":null,"topics":["android","facebook","image-processing","instagram","photo-editing","photo-editor"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bevy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-01T20:03:57.000Z","updated_at":"2024-11-28T05:23:01.000Z","dependencies_parsed_at":"2022-09-13T05:02:03.058Z","dependency_job_id":null,"html_url":"https://github.com/bevy/photo-editor-android","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bevy/photo-editor-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevy%2Fphoto-editor-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevy%2Fphoto-editor-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevy%2Fphoto-editor-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevy%2Fphoto-editor-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bevy","download_url":"https://codeload.github.com/bevy/photo-editor-android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevy%2Fphoto-editor-android/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266474977,"owners_count":23934848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","facebook","image-processing","instagram","photo-editing","photo-editor"],"created_at":"2024-08-09T13:01:29.994Z","updated_at":"2025-07-22T10:30:56.847Z","avatar_url":"https://github.com/bevy.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# PhotoEditorSDK\n\n![alt tag](https://s18.postimg.org/xza5yw53d/photoeditorsdk.png)\n\nIt is an android image editing SDK with simple, easy support for image manipulation.\n\n-----------------------------------------------------------------------------------------------------\n\n## Features\n- Adding Images.\n- Adding Stickers.\n- Adding Text with option to change its Color.\n- Drawing on image with option to change its Color, its Size and Erasing.\n- Scaling and Rotating views.\n- Deleting views.\n- Saving photo after editing.\n- Undo after adding views.\n- Transforms\n  - Flip\n  - Rotate\n  - Resize\n-----------------------------------------------------------------------------------------------------\n\n## Benefits\n- Hassle free coding\n- Increase efficiency\n- Easy image editing\n\n-----------------------------------------------------------------------------------------------------\n\n## Installation\n\n### For Gradle : ###\nStep 1 : Add it in your root build.gradle at the end of repositories\n```java\nallprojects {\n  repositories {\n   ...\n   maven { url 'https://jitpack.io' }\n  }\n}\n```\nStep 2 : Add the dependency\n```java\ndependencies {\n         compile 'com.github.eventtus:photo-editor-android:v1.0'\n }\n ```\n\n### For Maven : ###\n\nStep 1 : Add it in your root build.gradle at the end of repositories\n```java\n\u003crepositories\u003e\n  \u003crepository\u003e\n      \u003cid\u003ejitpack.io\u003c/id\u003e\n      \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n  \u003c/repository\u003e\n\u003c/repositories\u003e\n```\nStep 2 : Add the dependency\n```java\n\u003cdependency\u003e\n     \u003cgroupId\u003ecom.github.eventtus\u003c/groupId\u003e\n     \u003cartifactId\u003ephoto-editor-android\u003c/artifactId\u003e\n     \u003cversion\u003ev1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n-----------------------------------------------------------------------------------------------------\n\n# User Documentation :\n\n1. First of all you have to get instance of PhotoEditorSDK to initialize it and start calling the desired functions.\n```java\nphotoEditorSDK = new PhotoEditorSDK.PhotoEditorSDKBuilder(PhotoEditorActivity.this)\n.parentView(parentImageRelativeLayout)\n//add parent image view\n.childView(photoEditImageView)\n//add the desired image view\n.deleteView(deleteRelativeLayout)\n//add the deleted view that will appear during the movement of the views\n.brushDrawingView(brushDrawingView)\n// add the brush drawing view that is responsible for drawing on the image view\n.buildPhotoEditorSDK();\n// build photo editor sdk\n```\n\n2. To add **Text** on the image:\n```java\nphotoEditorSDK.addText(text, colorCodeTextView);\n```\n\n3. To add **Image** or **Stickers**:\n```java\nphotoEditorSDK.addImage(image);\n```\n\n4. To add **Emoji**:\n```java\nphotoEditorSDK.addEmoji(emojiName, emojiFont);\n```\n\n5. To **Draw** on the image:\n```java\nphotoEditorSDK.setBrushDrawingMode(brushDrawingMode);\n// brushDrawingMode is false by default, true if you want to draw on the image view\n```\n\n6. To change the **Color** and **Size** of the drawing view and the **Size** and the **Color** of the **Eraser** view:\n```java\nphotoEditorSDK.setBrushSize(size);\nphotoEditorSDK.setBrushColor(colorCode);\nphotoEditorSDK.brushEraser();\nphotoEditorSDK.setBrushEraserSize(brushEraserSize);\nphotoEditorSDK.setBrushEraserColor(color);\n```\n\n7. To **Save** the image after editing:\n```java\nphotoEditorSDK.saveImage(folderName, imageName);\n```\n\n8. To **Undo** the added **Views (Image or Text)**:\n```java\nphotoEditorSDK.viewUndo();\n```\n\n9. To **Clear All** the added **Views (Image or Text)**:\n```java\nphotoEditorSDK.clearAllViews();\n```\n\n10. To **Clear All** the added **Drawing Views**:\n```java\nphotoEditorSDK.clearBrushAllViews();\n```\n\n11. To listen on **Added Views**, **Edit the added Text Views**, **Added and Removed Views** and **Start and Stop Moving Views**. You can implement:\n```java\nphotoEditorSDK.setOnPhotoEditorSDKListener(new OnPhotoEditorSDKListener() {\n    @Override\n\tpublic void onEditTextChangeListener(String text, int colorCode) {\n\n\t}\n\t@Override\n    public void onAddViewListener(ViewType viewType, int numberOfAddedViews) {\n\n    }\n    @Override\n\tpublic void onRemoveViewListener(int numberOfAddedViews) {\n\n\t}\n    @Override\n\tpublic void onStartViewChangeListener(ViewType viewType) {\n\n\t}\n    @Override\n\tpublic void onStopViewChangeListener(ViewType viewType) {\n  \n\t}\n});\n```\n\n-----------------------------------------------------------------------------------------------------\n\n## Contributing\n\nWe welcome contributions from other developers to help us make the SDK even better.\nBefore you contribute there are a number of things that you should know please see [CONTRIBUTING.md](https://github.com/eventtus/photo-editor-android/blob/master/CONTRIBUTING.md) for details.\n\n## Credits\n\nPhotoEditorSDK was originally written by [Ahmed Adel](https://github.com/ahmed-adel-said).\nProject is maintained and funded by\n\n[![Eventtus](http://assets.eventtus.com/logos/eventtus/standard.png)](http://eventtus.com)\n\n## License\n\nCopyright (c) 2017 Eventtus, PhotoEditorSDK is released under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbevy%2Fphoto-editor-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbevy%2Fphoto-editor-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbevy%2Fphoto-editor-android/lists"}