manishps824 / image-editor Goto Github PK
View Code? Open in Web Editor NEWThis project forked from shyamupa/image-editor
This project forked from shyamupa/image-editor
handle saving file on closing handle Save file without opening image There has to be change in the semantics of creating a temp file. We will now create temp files only when any effect is applied . If only the image is being viwed then no temp file should be created. ISSUES -- get size of scolledwindow to resize -- store the filename of current file There is an issue with resizing. Image Object used by resizing operation is different from image object used for applying effects. Probably will have to save the resized image and then read again and apply effects. UNDO added Semantics of undo - Every effect is manipulated to be a function of type Image -> IO (), so that a list of all previous actions can be stored. When undo is done file is read from the original location and then all the actions except the last action are applied and rendered. The tmp file is also changed. Right now a recursive version is added for this known as applyeffects. An implementation using map can be added. PROBLEMS WITH CONTRAST AND BRIGHTNESS The ok button presumes that tempfile1 is there. But it may not be. So handle that case. The window should probably be changed to widget so that it can be destroyed via ok and cancel buttons. LIBRARY Need to be installed for changing cursor: sifflet-lib Just do "cabal install sifflet-lib" ISSUES WITH CROPPING: onButtonPress widgetGetPointer gets a Point(top left corner) say p1 and onButtonRelease widgetGetPointer gets another Point(bottom right corner) say p2. First time, it works fine, but if I again try to crop by dragging the mouse over the cropped image, it takes a new point onRelease, but somehow remembers the previous point p1, thus making crop second time act in a weird fashion. Modified the editor.glade file to incorporate the cropping effect, but have not removed the original "editor.glade" file, rather added a new file "editor2.glade" manishihireadme another trial ravi test test hi amitesh test
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.