Questions tagged [svg-edit]

SVG-edit is a web-based, JavaScript-driven SVG drawing editor that works in any modern browser.

Useful links

67 questions
0
votes
1 answer

How to position a text element to a specific position and resizable in SVG?

I am creating a rect element based on input values from textbox(getting Height,Width,X and Y from textbox). When rect is created and appended in parent g element. I am creating a text element showing the newly created rect number.I positioned this…
Shahid
  • 105
  • 11
0
votes
1 answer

Svg to png base64 using HTML5 Canvas does not work reliably on IOS browsers (Chrome / Safari)

I am building a web app using asp.net-core with angular 4 templates and uses svg-edit to allow user to draw / load / save images on mobile devices particularly on the IOS devices / android devices. The svg-edit works well for what I need but I've…
Robert Chan
  • 144
  • 11
0
votes
1 answer

Load SVG-Edit in browser locale

How do i load the svg-edit in browser locale.I want to load the tools in browser language especially chinese. Anyone please help. Thanks in advance.
sab
  • 13
  • 5
0
votes
1 answer

Edit svg using JavaScript and place a PNG inside an SVG

How can I edit an SVG same like fill color and other methods of SVG I want to place an SVG/PNG inside an SVG at some specific path/group of SVG, How come it is possible can anyone help me out on this?
Ali Hassan Mirza
  • 552
  • 11
  • 23
0
votes
0 answers

Does svg-edit retain arbitrary attributes

Using svg-edit and some of the variants I've found that seem like they are based on the same JS libraries, I create a basic drawing then using either source editor within svg-edit, or loading up an external Notepad-created SVG, that some attributes…
Dave
  • 378
  • 4
  • 14
0
votes
0 answers

What is the difference between SVG path X,Y Position and three JS X,Y position?

What is difference between SVG path and Three JS X, positions? I want place object in same place in 3d view using svg X,Y position, How can I calculate X,Y, Z for 3D view using SVG path X,Y values?
shamugam s
  • 45
  • 4
0
votes
1 answer

how to change svg image top to bottom?

I have two svg image a page Please see the below link, I want top need to come upper. want are the attribute need to change using jquery , Please any one help, i am not well in svg image
shamugam s
  • 45
  • 4
0
votes
1 answer

How to get height and width of SVG image group?

SVG multiple shapes containing I want get the particular g tage image width and height using svg editor(https://github.com/SVG-Edit/svgedit) . Example Image:
Shanmuga Kumar
  • 251
  • 1
  • 4
  • 9
0
votes
1 answer

Can anyone point me to save to server code example for svg-edit 2.8.1

I've been working on modifying svg-edit to save to server. With the previous versions I could use the save to server extension - but when I try to implement it on this version - the Save link that's created is non responsive. 1 - Are there new…
phpchick
  • 11
  • 1
0
votes
2 answers

How to zoom all things except some paths / text on an svg canvas without changing its exact position

I want to zoom all things except some paths / text on an svg canvas without changing the path / text exact position using svgpanzoom js. The actual working of my needs is something like a map with some markers on it, I also want to dynamically place…
asp
  • 743
  • 2
  • 9
  • 29
0
votes
1 answer

Jquery is it possible set alias for div with ID?

I try to implement my own button into SVG Editor. Svg editor has many buttons with ID's and funcionality. Now I would like to implement more buttons on one page with different IDs but with the same funcionality as original button. Because of tons of…
mira
  • 1,056
  • 3
  • 15
  • 32
0
votes
2 answers

How to convert image jpg to svg in java ( or javascript, jquery)?

I am using an svg-edit tool and want convert an image(jpg or png) to svg before loading it into the editor. Loading an SVG file is possible but others file types can not be loaded so I think the image must be converted before being loaded. How can I…
Hyeok
  • 1
  • 2
0
votes
0 answers

Jquery change id dynamicallly and keep functionality of original id

I need to change the ID of element in jquery. This I make with following code: $('#tool_fhpath').attr('id', 'tool_fhpath2'); Changing id's works fine, but my problem is that element with new id does not interact as the original element. This part…
mira
  • 1,056
  • 3
  • 15
  • 32
0
votes
1 answer

Embedding SVG edit as a inline editor

How can this be accomplished in a HTML page: Click on the SVG image will open SVG editor in another window. On closing the window (after Y/N prompt) the svg code in the opener window will be updated.
Rune
  • 159
  • 1
  • 7
0
votes
1 answer

No font size property for text object in SVG-edit v2.7

Why is there no font size property for text object in SVG-edit v2.7? Am I just suppose to resize the text object? How then do I make sure the proportions are kept?
Slion
  • 2,558
  • 2
  • 23
  • 27