Comments (3)
Yes, this is unfortunately the major fault in the app right now. I unfortunately don't know enough about front-end dev to know if it's possible to allow loading files entirely on the client-side.
One option is to allow users to export a proprietary file format (.goy) which can be reloaded to allow for further work. Another option is to allow copy/paste of png (or other image) data, but this is unsatisfactory because I'm working towards adding animation support and you really want the user to be able to export an entire session (multiple frames).
I know that working with something like node-webkit would allow local file access, but I'd ideally like to keep the app as simple as possible. If you have expertise in this area, let me know!
One idea I've toyed around with is allowing the user to export the app state as a gist, which could be reloaded or shared.
from goya.
So presumably, the app state could be serialized and exported as a plain text file, and then loaded back in via menu command:
http://stackoverflow.com/questions/4950567/reading-client-side-text-file-using-javascript
Again, if you have expertise in this area, any help would be appreciated. Otherwise, i'll give it a crack this weekend.
from goya.
Added as part of 6cf6bd0
from goya.
Related Issues (20)
- Remove jiggle when zooming in past 999% HOT 1
- Allow completely wiping undo history HOT 1
- Add copy/paste functionality HOT 1
- Add ability to flip selection horizontally and vertically
- Flood fill is buggy
- Add support for fully transparent pixels HOT 1
- Update Goya to use latest Om
- See if we can avoid event listening via goog.events in drawing.cljs
- Find solution for color picker not being present (Safari, IE)
- Add tooltips for icons
- Add support for Layers
- Add 'Confirm Reload/Navigate' alert when project is un-saved
- Add brush sizes for fatter strokes
- Export animation gifs at current zoom level
- Set background overflows button on Firefox HOT 1
- Mobile browser is detected as Netscape HOT 2
- Problems in Safari 8 HOT 2
- Undo does not work when I click on a previous history item HOT 2
- Import image or spritesheet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goya.