kimoa / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
3 stars 0 forks source link

No image can be imported from local computers except .svg #796

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Import svg image, it will work.
2. If you import any other image rather than svg, it will not import.

I want to import images like .jpg .gif .png from local computers as .svg 
importing.

How can i import these images from local computers as in my case i want users 
to import images from their local computers?

Original issue reported on code.google.com by jamal.na...@gmail.com on 8 Mar 2011 at 12:05

GoogleCodeExporter commented 9 years ago
Did you try to check "Embed data (local files)" under "Included Images" in the 
Document Properties dialog?

In the case of importing SVG from local computers, the actual SVG document is 
being included in the SVG source directly. For raster images, we would have to 
include a data: URL in the SVG source so that the resulting SVG file is 
portable as a single file.

Original comment by codedr...@gmail.com on 15 Mar 2011 at 5:23

GoogleCodeExporter commented 9 years ago
Same question. keep follow

1. Can not import any image format that excludes SVG file.

Original comment by cyril.k...@gmail.com on 8 May 2012 at 6:18

GoogleCodeExporter commented 9 years ago
I think that can be done by loading the image by get_file_content() function. 
You have to make some changes in library and it will work.

Original comment by jamal.na...@gmail.com on 8 May 2012 at 8:36