Re: Mailing .SVG File Issue
Wilfried Römer <[email protected]>
| Newsgroups | gmane.comp.genealogy.gramps.user |
|---|---|
| Message-ID | <2170084.iZASKD2KPV@cwr08> |
Just to set some things straight: SVG files may be typed "Microsoft Edge HTML Document" (or any other browser) as many browsers are able to display SVG files (e.g. my Firefox). Changing the default application to use for opening such files is explained in the help files for the respective operating system (Windows in your case). SVG files are somewhat like HTML files: they describe how vector graphics should be displayed in browsers. And, like HTML, references to image files are normally just references, i.e. they are not embedded but contain an URL where the respective file can be found by the application. They CAN be embedded but in your case Obviously, in your case the images are referenced as external files in the SVG file created by Graphview. When you move the SVG file to different system, Inkscape (or any other application) will not be able to find the images under the given URL within the SVG file. There are various ways to fix this problem, IMHO from easiest to more complicated: (1) create a PDF file to exchange your graphs. (2) on your system, use Inkscape to embed all images (Extensions → Images → Embed Images), save the resulting file and send this one around. Beware! This may result in a rather large SVG file! (3) recreate the directory structure of your system on the target system and copy all images to their respective location (or zip them and unpack them on the target system) (4) modify all links/URLs within the SVG file to point to a target directory on the target system (I would suggest to use relative paths) and copy all images to that location. Hope I could help. Willie On Samstag, 22. Januar 2022 04:21:34 CET Dan Mittler wrote: > SVG and VG files created by Graphview reference images to a file on the > Windows (C:) drive called "....../normal" > where all images ( .png ) are stored. Therefore when *sharing only* the > SVG file, images are missing. > I have NOT found a setting to embed images withing Graphview to fix the > problem. > > Inkspace presents the same problem. When opening an Graphview SVG file, a > message of "Linked Image Not Found" replaces each image. > My SVG family tree file contains many images. Can one import the above > file "...../normal" > and embed into Inkspace file? New to Inkspace, so any help is greatly > appreciated. > > Thank you........Dan > > On 20/01/2022 22:25, Dan Mittler wrote: > > Generated a vertical family tree using Graphview and includes the > > name and image for each person in the tree. Saved the tree resulting > > in an .VG and .SVG file. The saved .SVG file is identified as a > > Microsoft Edge HTML Document. > > That last bit is obviously wrong, and should probably be fixed in the > Registry. > > > When opening the .SVG file on my computer, all is well. > > OK. > > > *Problem:* When my .SVG file is mailed to another Windows 10 > > computer, opening the .SVG file, results in the same "funny" image > > replacing all personal images. Opening the file in apps, other then > > Edge, results in the same images error. > > At a Wild Random Guess™ perhaps it's set to call the images by > reference, rather than embedding them. So on your own machine, the > images are where they are specified, but no-one else has them on their > machines, so the links fail. A bit like using local filenames for images > in a HTML document: they work on the author's machine but nowhere else. > > Is there a setting for image location, or "embed images" or something > that might fix this? > > Peter -- Gramps-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gramps-users https://gramps-project.org