carbon-tools / carbon

NO LONGER MAINTAINED - In-browser rich document editor.
https://carbon.tools
BSD 2-Clause "Simplified" License
177 stars 33 forks source link

Allow some sort of hook for images to be edited in browser #72

Open Pandahisham opened 8 years ago

Pandahisham commented 8 years ago

For a recent project I had to use PicEdit.js to allow quick annotations , allowing images to be edited will be a great feature

mkhatib commented 8 years ago

If you have a page where that is used it would be great to take a look.

That seems like a cool extension for Carbon. Will keep this open to discuss it further and hopefully figure out a way to integrate this.

Pandahisham commented 8 years ago

well i can't show you the page , but here's the gist of it -> doctor takes photo of patient and removes facial recognition by drawing a black mark over the face . It's a simple image upload , and worked well . Ever since then i was thinking about integrating it with some sort of text editor in general .

It can be used in other cases too , like adding arrows to point to certain features . or adding focalpoint to make responsive images , adding photofilters or borders etc.

I think a general approach would be to allow uploaded photo(s) to be passed through an optional plugin module and gather the transformed image once the plugin has finished it's job . But then there's the question about undo/revert etc.