Android image editor github

Android image editor github

About PhotoEditor SDK for Android

The PhotoEditor SDK is a powerful and multifaceted tool which enables you to equip your Android application with high-performant photo editing capabilities. The PhotoEditor SDK is written in Java and can easily be customized to entirely blend with your CI and provide your users with the exact feature set your use-case requires.

The SDK ships with a large variety of filters, covering all state of the art style- and mood settings that can be previewed in real-time. Unlike other apps that allow a live preview of filters, the PhotoEditor SDK even provides a live preview when using high-resolution images.

All operations are non-destructive which allows for fast and uncomplicated revision of the creatives at any given time and creates an intuitive and creative workflow for your users. Please see Features for a detailed list of the photo editing tools included in the PhotoEditor SDK.

The PhotoEditorSDK is a product of img.ly GmbH. Please make sure that you have a commercial license before releasing your app. A commercial license is required if you would like to integrate the SDK into any app, regardless of whether you monetize directly (paid app, subscription, service fee), indirectly (advertising, etc.) or are developing a free app. Every license for the PhotoEditor SDK is valid for one product only unless the products are closely related.

If you’d like to use the PhotoEditor SDK for a charitable project, you can do so free of charge. However, please contact us anyway, so we can evaluate whether you qualify for a non-commercial license or not and handle your request accordingly.

Please get in touch if you’d like to purchase a commercial license or require further information on our pricing and services. Please see the included LICENSE.md for licensing details.

Over 60 handcrafted Filters covering all state of the art style- and mood settings to choose from.

Design custom filters in Photoshop and other apps: The API of the PhotoEditor SDK enables you to expand the filter library with your own set of custom filters to define a unique visual language. Custom filters can easily be created by anyone using LUTs (Lookup Tables) from popular apps like Photoshop, GIMP or Lightroom. Design your filter and apply it onto the provided identity image. That will ‘record’ the filter response, now simply save it and add it as a new filter. Done.

An Overlay Tool that can be used to create neat lighting effects like lens flare or bokeh but also to furnish pictures with textures like crumpled paper or plaster. You can easily expand the library by importing your own set of overlay assets.

An Adjustment section that holds both essential and advanced photo editing features like brightness, contrast, saturation, clarity etc. that help tweak and fine tune images to create stunning creatives.

Читайте также:  Фон для андроид планшет

A Transform section that unifies cropping, flipping and rotation in one feature.

The robust Text Feature provides all necessary functions for quickly adding text to any picture or creative. The corresponding font library can easily be exchanged, reduced, or expanded.

A categorized Sticker library whose UI is optimized for exploration and discovery. You can easily complement the library with your own custom sticker packages.

A Frame Tool that works with any given photo size or ratio.

A high performant Brush Engine optimized for touch screen that supports different brush strokes.

A Photo Roll equipped with a wide range of stock photography and templates with presorted categories. The API allows for easy expansion, reduction and rearrangement of the assets.

A clean and intuitive UI that ensures an unhindered flow of creativity and a seamless experience while composing creatives. The UI is designed to be customized to completely match your CI and blend with your app.

You can strip out every feature you deem unnecessary to provide your users with the exact feature set your use case requires.

Android API Level 16+ Covers nearly 99% of all Android devices with touchscreen.

Fast image export up to 4294 MegaPixel

Generic camera support for most Android phones.

Tablet support: The PhotoEditor SDK uses auto layout for its views and adapts to each screen size.

Non/destructive features and effects: Quickly revise, redo or even discard your work.

ACS Component
A generic Android Camera Stack library which is based on the android.hardware.Camera API. Supports front and rear cam, HDR, flash modes and much more.

SDK Component
The PhotoEditor core library for Android. Containing the OpenGL and toolkit implementation.

UI Component
The default UI components consisting of LivePreview and Editor Activity.

For a detailed documentation, please take a look here.

This SDK requires a minimum deployment target of Android API 15 (4.0.4) with OpenGl ES 2.0 supported Device but our official support is starting with API 16 (4.1.0)

Add your license file

Before using any components of the PhotoEditor SDK, you have to add your license file to your applications assets folder. The expected default name of the license file is «LICENSE». In order to change this, see licencePath option of PESDKConfig in your gradle file.

The license is digitally signed and can’t be altered without becoming invalid. Our sample app comes with its own license, so you can try that right away. To try our SDK in your own app, you need to request a trial license that’s bound to your bundle identifier. You can start a trial here and download your license file from your dashboard.

Once the license file has been added the application will validate its presence upon launch.

Setting up the workspace

Please ensure that our artifactory repository is listed in your repositories in the project’s build.gradle file:

You will have to add the pesdk plugin and PESDKConfig into your module’s build.gradle file:

Читайте также:  Vitamio android studio rtsp

Sync your project with the Gradle files after every edit! For more information about Gradle, please take a look at the Android Developer Documentation

The PhotoEditor SDK requires two permissions: The «Write access to external storage» and the «Camera» permission (if you include the Camera module). You can grant this permissions yourself otherwise the SDK will automatically grant these permissions

Please take a look at the hint in the next step in order to integrate the Android 6.0 permission request correct!

In order to open the camera preview and pass the resulting image to the editor, create a CameraPreviewBuilder and start the CameraPreviewActivity with startActivityForResult(activity, custom_id) :

Please make sure you delegate the onRequestPermissionsResult to PermissionRequest.onRequestPermissionsResult as demonstrated in the following example. This ensures correct behavior on Android 6.0 and above.

Start Editor standalone (without camera).

If you want to open the editor directly with an existing image look at this example:

About

PhotoEditor SDK: A fully customizable photo editor for your app.

Источник

Android image editor github

Failed to load latest commit information.

README.md

## img.ly SDK for Android

img.ly SDK for Android is for creating stunning images with a nice selection of premium filters.

The img.ly Photo Editor SDK provides a variety of tools and functions for creating photo applications for Android. It is licensed under a proprietary license and intended to be used as better alternative for free software applications such as the GPUImage or similiar libraries. If you are interested in our SDK, please contact us.

ACS Component
A generic Android Camera Stack library which is based on the android.hardware.Camera API. Supports front and rear cam, HDR, flash modes and much more.

SDK Component
The img.ly core library for Android. Containing the OpenGL and toolset implementation.

UI Component
The default UI components consisting of LivePreview and Editor Activity.

PLUGIN Components
At the momment not implemented, it is for future use. For Example to embedding you Google Analytics.

No external non Google libraries needed or used by the SDK.

  • Android API Level 15+. Covers nearly 95% of all Android devices.
  • Default UI for camera preview and editing. Based on Intents and Activities.
  • Fast image export. Even with large images or slow devices the export is done in adequate time with background processing.
  • Generic camera support. Integrated and featureful on the most Android phones.
  • Crop, Rotate, Stickers, Text Placement, and Colorize. All essential photo editing functions wrapped into a simple, beautiful and customizable UI.
  • 57 Stunning filters which are builtin and work out of the box.
  • No native code. Our backend is Renderscript based with highlevel OpenGL support, therefore we dodge all the nasty native library problems other frameworks face.
  • Tablet support. Works great on tablets.
  • Photoshop LUT. Design color filters in Photoshop! With this feature it is possible to generate LUT (Look Up Table) color filters easily from different photo editing tools. Export and integrate them in minutes!
  • Live Preview up to 21mpx. Filters can be previewed in high quality realtime on full camera resolution.
  • Low memory footprint even with high resolution images.
  • Extensible and customizable toolset interface. Add your own customized filters with Renderscript and modify tool properties yourself.
Читайте также:  What are broadcast receivers in android

img.ly SDK for Android is a licensed library which can be used for different purposes.
Please see:

Require a minimum deployment target of Android API 15 (4.0.4) and Device with HardwareLayer (for LivePreview) and LargeHeap Support (To operate and export large images)

1. Import the img.ly SDK into your project with jcenter like this.

Do not forget to add «renderscriptSupportModeEnabled true» and «renderscriptTargetApi 20»!
And please use the latest jCenter Version

2. Initialize SDK in an Application class.

3.1. Start img.ly SDK default UI.

Do not forget to delegate the onRequestPermissionsResult to PermissionRequest.onRequestPermissionsResult. Apart from that it will not work on Android 6.0 and above

3.1. Start Camera Preview Activity with editor backend.

3.2. Start Editor Activity standalone.

4. Customize SDK tools for your own Android App.

Источник

Android image editor github

It is an android image editing SDK with simple, easy support for image manipulation.

  • Adding Images.
  • Adding Stickers.
  • Adding Text with option to change its Color.
  • Drawing on image with option to change its Color, its Size and Erasing.
  • Scaling and Rotating views.
  • Deleting views.
  • Saving photo after editing.
  • Undo after adding views.
  • Transforms
    • Flip
    • Rotate
    • Resize
  • Hassle free coding
  • Increase efficiency
  • Easy image editing

Step 1 : Add it in your root build.gradle at the end of repositories

Step 2 : Add the dependency

Step 1 : Add it in your root build.gradle at the end of repositories

Step 2 : Add the dependency

  1. First of all you have to get instance of PhotoEditorSDK to initialize it and start calling the desired functions.
  1. To add Text on the image:
  1. To add Image or Stickers:
  1. To Draw on the image:
  1. To change the Color and Size of the drawing view and the Size and the Color of the Eraser view:
  1. To Save the image after editing:
  1. To Undo the added Views (Image or Text):
  1. To Clear All the added Views (Image or Text):
  1. To Clear All the added Drawing Views:
  1. To listen on Added Views, Edit the added Text Views, Added and Removed Views and Start and Stop Moving Views. You can implement:

We welcome contributions from other developers to help us make the SDK even better. Before you contribute there are a number of things that you should know please see CONTRIBUTING.md for details.

PhotoEditorSDK was originally written by Ahmed Adel. Project is maintained and funded by

Copyright (c) 2017 Eventtus, PhotoEditorSDK is released under the MIT license.

About

Photo Editor SDK contains a lot of features like edit, scale, rotate and draw on images like Instagram stories.

Источник

Оцените статью