Code Monkey home page Code Monkey logo

imageeditor's Introduction

ImageEditor

Image edit library on android platform, based on opengl es 2.0.

Demo prebuilt apk

Note

This library is still under developing, so do not use it on you product!

Any contribution is welcome!

Thanks

Part filter shader is from gpuimage: https://github.com/BradLarson/GPUImage

Transitions are from gl-transition: https://gl-transitions.com/

They did a great job!

ImageEditor library use FreeType 2.9.1 to render text to opengl texture, freetype site: https://www.freetype.org

Demo's icon is from: https://icons8.com , it is a good place to find beautiful icons for android and iOS.

Demo's font(chinese and english) is from: https://www.freechinesefont.com/, and they are free!

Demo Screenshot

See This

How to use?

It's easy to use, you just send operators to IEManager instance, and all is done!

For example, add lut filer to image like this:

  1. create an operator
filterOp = new LookupFilterOperator.Builder()
                            .intensity(INTENSITY_VALUE)
                            .lookup(BitmapFactory.decodeStream(LOOK_UP_TABLE_STREAM)
                            .build();
  1. add to IEManager api class
if (opAdded) {
    // you can render it right now.
    IEManager.getInstance().updateOperator(0, filterOp, true);
    // or render it later.
    IEManager.getInstance().updateOperator(0, filterOp, false);
} else {
    IEManager.getInstance().addOperator(0, filterOp, true);
}

That's all you need to do! For more details about usage, See This.

How to build?

To build this library, you need android sdk, ndk and gradle.

imageeditor's People

Contributors

createchance avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.