Comments (9)
👍
from mondrian.
SVG does support embedding raster images. It's a good idea.
from mondrian.
So it won't be too hard to implement?
from mondrian.
You could add support for embedding of PNG files via drag & drop with something like this: https://gist.github.com/jarek-foksa/8613003
from mondrian.
Thank you, but sorry, how do I use this?
from mondrian.
@MagnaMike the gist just demonstrates how to use the DOM API in order to implement this functionality, it's not supposed to work out of the box (it's not even CoffeeScript).
from mondrian.
Sorry all of this is going over my head, I don't have any real experience to speak of with this kind of stuff. I'll just ask this; is this functionality something you can/will add on in the future?
from mondrian.
Yes.
from mondrian.
It could be done with drag & drop, with an upload
field, with a url field...
The input isn't as important as the internal representation class that would have to be written for the <image>
element. It will have to extend Monsvg
like every other SVG element representation class (see the entire src/geometry
directory). That's how Mondrian handles all SVG elements.
from mondrian.
Related Issues (20)
- Create application manifest HOT 30
- Update to latest jQuery 2.x or Zepto (or drop it completely) HOT 6
- Better smoothing of crayon points. HOT 5
- Disable Context Menu
- Color picker should constrain colors to the visible window HOT 5
- Needs a way to restrict angles HOT 1
- Show tooltips when hovering the tool icons HOT 6
- 'Ctrl+Z' should undo the changes HOT 1
- Speed up Coffeescript compilation HOT 1
- Numerical keypad (external apple keyboard) does not allow me to input values HOT 3
- Drop dependence on jQuery? HOT 6
- snap to grid HOT 2
- SVG-edit HOT 5
- Cannot build styles. HOT 4
- App cache development issues. HOT 8
- Master build.js init error. HOT 5
- SVG File Import crashes browser HOT 4
- Is There a Pre-Built Package available, yet? HOT 3
- Support Google Fonts
- "Class BuildShell could not be loaded" HOT 1
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 mondrian.