Linking bitmap images causes platform dependency of svg files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
I am using Inkscape on Linux and on Windows 7. As I have linked many graphics in my svg-files I have great difficulties opening them on a machine with the opposite OS.
E.g.: I created a file with about 30 linked graphics (embedding is not an option, as size does matter and changes in the graphics-
Inkscape links the files with full path (file:/
Having created the file on linux, I cannot see the linked Images on Windows, because the saved path is of no meaning to Windows OS, thus the SVG-file becomes Platform dependent.
Though this, strictly speaking, is not a bug but a change request, I'd like to suggest that the behaviour of the application should be changed if possible.
If the path to the linked file were saved in a relative format (relative to the location of the SVG-file) Incscape could supply a Base directory, i.e. where the SVG-file is located, and following read the relative path. Then Incscape could convert the saved relative path to a graphics-file (e.g. replace slashes with backslashes report errors, if the filename contains illegal characters, which are not allowed on the current OS) and so display the graphics on multiple platforms.
I am aware of the implications on the SVG-file format, but I simply do not know the specs for this file-format and thus hope, that my request can be considered possible.
Thx in advance - Incscape is a great program
summary: |
- Embedding Images causes platform dependency of svg files + Linking bitmap images causes platform dependency of svg files |
tags: | added: bitmap importing |
AFAICT a duplicate of /bugs.launchpad .net/inkscape/ +bug/170225>
- Bug #170225 “relative image paths instead of absolute”
<https:/
(already implemented in current trunk)
With current stable versions, you could consider using the workaround to save a copy as 'Compressed Inkscape SVG with media (*.zip)' and to transfer it as zipped archive to a different platform for editing. tavmjong. free.fr/ INKSCAPE/ MANUAL/ html/File- Export. html#File- Export- ZIP>
See also
- Bug #386664 “"Gather Resources" option for gathering fonts and images”
- Bug #391307 “SVG and media output not working on Windows”
- Bug #456248 “SVG with media output fails with special characters”
tracking recent improvements of that output extension, as well as the
- related section in the manual:
<http://