SVG: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Sysop (Diskussion • Beiträge) Keine Bearbeitungszusammenfassung |
Sysop (Diskussion • Beiträge) |
||
Zeile 25: | Zeile 25: | ||
xmlns:ns="http://ns.adobe.com/SaveForWeb/1.0/" | xmlns:ns="http://ns.adobe.com/SaveForWeb/1.0/" | ||
xmlns:x="adobe:ns:meta/" | xmlns:x="adobe:ns:meta/" | ||
xmlns:xap="http://ns.adobe.com/xap/1.0/" | |||
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#" | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
</pre> | </pre> | ||
= Imagemagic delegates = | = Imagemagic delegates = | ||
<source lang='bash'> | <source lang='bash'> |
Version vom 18. August 2025, 06:56 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:xap="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: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="'rsvg-convert' --dpi-x %x --dpi-y %y -o '%o' '%i'"/>
---
> <delegate decode="svg" command="'rsvg-convert' --unlimited --dpi-x %x --dpi-y %y -o '%o' '%i'"/>