Giter Club home page Giter Club logo

tui.image-editor's Introduction

Image Editor

Canvas image editor

image

Feature

  • Load image to canvas
  • Undo/Redo (With shortcut)
  • Crop
  • Flip
  • Rotation
  • Free Drawing
  • Line drawing
  • Shape
  • Icon
  • Text
  • Mask Filter
  • Image Filter

Documentation

Dependency

Test Environment

PC

  • IE9~11
  • Edge
  • Chrome
  • Firefox
  • Safari

Mobile

  • iOS 9.3.x
  • Android 4.4.x

Usage

Use npm

Install the latest version using npm command:

$ npm install tui-image-editor --save

or want to install the each version:

$ npm install tui-image-editor@<version> --save

To access as module format in your code:

var ImageEditor = require('tui-image-editor');
var instance = new ImageEditor('.tui-image-editor', {
    cssMaxWidth: 700,
    cssMaxHeight: 500,
    selectionStyle: {
        cornerSize: 20,
        rotatingPointOffset: 70
    }
});

Use bower

Install the latest version using bower command:

$ bower install tui-image-editor

or want to install the each version:

$ bower install tui-image-editor#<tag>

To access as namespace format in your code:

var imageEditor = new tui.ImageEditor('.tui-image-editor', {
    cssMaxWidth: 700,
    cssMaxHeight: 500,
    selectionStyle: {
        cornerSize: 20,
        rotatingPointOffset: 70
    }
});

Via Contents Delivery Network (CDN)

TOAST UI products are available over the CDN powered by TOAST Cloud.

You can use the CDN as below.

<script src="https://uicdn.toast.com/tui-image-editor/latest/tui-image-editor.js"></script>

If you want to use a specific version, use the tag name instead of latest in the url's path.

The CDN directory has the following structure.

tui-image-editor/
โ”œโ”€ latest/
โ”‚  โ”œโ”€ tui-image-editor.js
โ”‚  โ””โ”€ tui-image-editor.min.js
โ”œโ”€ v3.1.0/
โ”‚  โ”œโ”€ ...

Download

License

MIT LICENSE

tui.image-editor's People

Contributors

seonim-ryu avatar kyuwoo-choi avatar

Watchers

Robert avatar James Cloos 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.