GithubHelp home page GithubHelp logo

swimmingkiim / react-image-editor Goto Github PK

View Code? Open in Web Editor NEW
266.0 6.0 49.0 7.26 MB

React + Konva / image editor / like Figma or Canva

Home Page: https://swimmingkiim.github.io/react-image-editor

License: MIT License

HTML 53.38% JavaScript 0.20% TypeScript 44.50% CSS 1.92%
canva canvas editor figma image konva react tool

react-image-editor's Introduction

React Image Editor

Live Screenshot

How to Run Project

npm i
npm start

How to Serve

npm i -g serve
npm i
npm run build
npm run serve

Features

  • Data

    • history (undo, redo)
    • copy, paste, duplicate
  • Color

    • apply color picker
    • save & reload color list to localStorage
  • Tab

    • create tab
    • delete tab
    • change canvas data by changing tab
  • Frame

    • drag & drop
    • move
    • resize
  • Export

    • export all frame
    • export selected frame
  • EditableObject

    • Common
      • create by drag & drop
      • update
      • read
      • delete
      • change background color
      • move
      • resize
      • rotation
      • opacity
    • Image
      • import image
      • brightness
      • filter
    • Shape
    • Icon
      • from bootstrap
      • search icon
    • Text
      • create text
      • edit text
      • change color
      • text align
      • remove text

Support Me!

Buy Me A Coffee

react-image-editor's People

Contributors

swimmingkiim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

react-image-editor's Issues

Brush tool and line tool for masking

Great work, I really like this project. I noticed that there's a hook for brush but it isn't anywhere on the editor. I would like to create masks with it. Something like this
Inpainting-C1
Inpainting-C2

Also, i added the line widget locally since it looks complete.

How init sample-frame

I can initialize it by adding the corresponding json file in initilaStageDataList, but an error is reported.

image
image

Drag and Drop Images

What do you think of if it use OpenAI image generator insteadd of simple drag and drop?

I am sure it will be best.

Demo available

Hello, is there a demo of this available anywhere that I could try out before diving in?

Export frame not working

Export All Frame and Export Selected Frame are not working. Nothing happen when click on the export options.

Change EditableObject's implementation with `fabric.util.createClass`

Background

I got this idea when I was trying to implement the select method in EditableObject.
The issue that I was facing was that I could not extract EditableObject instances from the JSON format snapshot that the Data class has. In the current project's structure, It's too complicated to handle two states that represent the same thing.

Suggestion

  • Implement EditableObject with fabric.util.createClass
  • Also implement other custom object classes with EditableObject with fabric.util.createClass

References

Node version issue.

Hi, @swimmingkiim

Can you tell me what node version using?

I tried to run this on Node 16.16.0 and 18.16.0, but doesn't works.

:) Please reply.

Color Picker Issue

I can't close the color pikcer once I click it for set custom color.

Can you open the discuss or invite me to your project?

Export feature

There is a issue while export frame as a image. It doesn't works well.

Can you send an invitation?

image

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.