I'm having difficulty with imported bmp files. When I save the finished product that includes bmps and vector graphics it looks great. When I take the resulting svg file to another computer the image shows missing image and a red x where the bmps were. I have surmised that the program links to these images and when you move the svg file to another computer the path to those bmps is no longer there. I was wondering if there is any way to avoid that. Is there a way to anchor or flatten the images and embed them in the svg file? Thanks in advance for any help.
On 10/14/05, Brian Cochran <briancochran447@...9...> wrote:
I'm having difficulty with imported bmp files. When I save the finished product that includes bmps and vector graphics it looks great. When I take the resulting svg file to another computer the image shows missing image and a red x where the bmps were. I have surmised that the program links to these images and when you move the svg file to another computer the path to those bmps is no longer there. I was wondering if there is any way to avoid that. Is there a way to anchor or flatten the images and embed them in the svg file? Thanks in advance for any help.
The easy answer is, place images in the same RELATIVE dir. That is, if they were in the same dir as teh SVG, do the same on the second computer. If they were in a subdir, create the same subdir there.
Unfortunately, this simple scheme was somewhat broken in 0.42 and before: Inkscape tended to replace the relative link to the file by absolute, which naturally was much easier to break by moving to another computer. I fixed this a couple weeks ago and the fix will be in 0.43.
(Jon Cruz: you might be interested, as it was probably your bug; see http://cvs.sourceforge.net/viewcvs.py/inkscape/inkscape/src/file.cpp?r1=1.14...)
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org/fil
On Oct 14, 2005, at 11:36 AM, bulia byak wrote:
(Jon Cruz: you might be interested, as it was probably your bug; see http://cvs.sourceforge.net/viewcvs.py/inkscape/inkscape/src/ file.cpp?r1=1.140&r2=1.141&sortby=date)
Yes. Quite interesting.
I'll have to see what we can do to minimize problems for 0.43. If nothing else, the next rev will get things reworked much better, and have more "flatten", "cleanup" and "warn" in regards to linked assets.
On 10/14/05, Brian Cochran <briancochran447@...9...> wrote:
I'm having difficulty with imported bmp files. When I save the finished product that includes bmps and vector graphics it looks great. When I take the resulting svg file to another computer the image shows missing image and a red x where the bmps were. I have surmised that the program links to these images and when you move the svg file to another computer the path to those bmps is no longer there. I was wondering if there is any way to avoid that. Is there a way to anchor or flatten the images and embed them in the svg file? Thanks in advance for any help.
The easy answer is, place images in the same RELATIVE dir. That is, if they were in the same dir as teh SVG, do the same on the second computer. If they were in a subdir, create the same subdir there.
Unfortunately, this simple scheme was somewhat broken in 0.42 and before: Inkscape tended to replace the relative link to the file by absolute, which naturally was much easier to break by moving to another computer. I fixed this a couple weeks ago and the fix will be in 0.43.
(Jon Cruz: you might be interested, as it was probably your bug; see http://cvs.sourceforge.net/viewcvs.py/inkscape/inkscape/src/file.cpp?r1=1.14...)
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org/fil
On 10/14/05, Brian Cochran <briancochran447@...9...> wrote:
I'm having difficulty with imported bmp files. When I save the finished product that includes bmps and vector graphics it looks great. When I take the resulting svg file to another computer the image shows missing image and a red x where the bmps were. I have surmised that the program links to these images and when you move the svg file to another computer the path to those bmps is no longer there. I was wondering if there is any way to avoid that. Is there a way to anchor or flatten the images and embed them in the svg file? Thanks in advance for any help.
Oops, forgot to mention: yes you can embed images into SVG, but currently this is only possible by a script, not from GUI. Use the share/extensions/embed_raster_in_svg.pl script (requires Perl).
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
On Oct 14, 2005, at 10:40 AM, Brian Cochran wrote:
I'm having difficulty with imported bmp files.
Yes, you will.
Aside from the other path issues, the format itself is problematic and mainly Windows-only.
It's probably better to convert them to PNG. As long as your conversion is set to use compression, you'll end up saving a lot of space too.
participants (3)
-
Brian Cochran
-
bulia byak
-
Jon A. Cruz