SVG: Unterschied zwischen den Versionen

aus wiki, dem genealogischen Lexikon zum Mitmachen.
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 27: Zeile 27:
  xmlns:xmp="http://ns.adobe.com/xap/1.0/"
  xmlns:xmp="http://ns.adobe.com/xap/1.0/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
</pre>
</pre>
= Imagemagic delegates =
= Imagemagic delegates =
Zeile 46: Zeile 47:
>  <delegate decode="svg" command="&apos;rsvg-convert&apos; --unlimited --dpi-x %x --dpi-y %y -o &apos;%o&apos; &apos;%i&apos;"/>
>  <delegate decode="svg" command="&apos;rsvg-convert&apos; --unlimited --dpi-x %x --dpi-y %y -o &apos;%o&apos; &apos;%i&apos;"/>
</source>
</source>
= icon portal computer genealogy.svg =
[[:Image:icon portal computer genealogy.svg]]
[[Image:icon portal computer genealogy.svg|40px|left|link=Portal:Computergenealogie|alt="Portal Computergenealogie (Bild und Link)"]]
[[Image:icon portal computer genealogy.svg|40px|left|link=Portal:Computergenealogie|alt="Portal Computergenealogie (Bild und Link)"]]

Version vom 18. August 2025, 06:55 Uhr

Beispiel für Fehlerhafte SVG

http://genwiki39.genealogy.net/images/9/98/Icon_portal_computer_genealogy.svg

ls -l Icon_portal_computer_genealogy.svg 
-rw-rw-r-- 1 www-data www-data 152760 Apr 20  2009 Icon_portal_computer_genealogy.svg
head Icon_portal_computer_genealogy.svg
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   version="1.0"
   x="0.0000000"
   y="0.0000000"

Fehlende namespaces

Beispiele:

 xmlns:ns="http://ns.adobe.com/SaveForWeb/1.0/"
 xmlns:x="adobe:ns:meta/"
 xmlns:xmp="http://ns.adobe.com/xap/1.0/"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

Imagemagic delegates

convert -list delegate | grep svg
        dot =>          "dot' -Tsvg '%i' -o '%o"
        pnm<= trace      "potrace' --svg --output '%o' '%i"
        svg =>          "rsvg-convert' --dpi-x %x --dpi-y %y -o '%o' '%i"
www-data@338655f466c4:/etc/ImageMagick-7$ sudo rcsdiff delegates.xml 
===================================================================
RCS file: RCS/delegates.xml,v
retrieving revision 1.1
diff -r1.1 delegates.xml
113c113
<   <delegate decode="svg" command="&apos;rsvg-convert&apos; --dpi-x %x --dpi-y %y -o &apos;%o&apos; &apos;%i&apos;"/>
---
>   <delegate decode="svg" command="&apos;rsvg-convert&apos; --unlimited --dpi-x %x --dpi-y %y -o &apos;%o&apos; &apos;%i&apos;"/>

icon portal computer genealogy.svg

Image:icon portal computer genealogy.svg

"Portal Computergenealogie (Bild und Link)"