Project

General

Profile

SVG

Added by Karl Schmidt over 6 years ago

I've looked at several command-line tools and don't see any support for svg. Am I just not looking in the right place - and/or is there any plans to support svg in the future.

(for the record - the standard is xml and has a section just for metadata.)


Replies (3)

RE: SVG - Added by Alan Pater over 6 years ago

Hi Karl

I am not sure if exiv2 has that support yet. If you attach a sample SVG file that has metadata, we can test it and see what happens.

RE: SVG - Added by Karl Schmidt over 6 years ago

Strangle - exiv2 does not have any support for svg yet - and even more strangely the manpage
http://www.exiv2.org/manpage.html
fails to list it as an image file type???? Really strange.

The meta data is straight forward DC xml..

$ grep grep "dc." example.svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:rights>
<dc:title>© 2015 Example, Inc. All rights reserved.</dc:title>
</dc:rights>
<dc:creator>
<dc:title>Jonathon Doe</dc:title>
</dc:creator>

The standards for svg are well documented - http://www.w3.org/TR/SVG11/

inkscape ( https://inkscape.org/en/ ) - a rather nice GUI svg editor can edit the meta data - but nothing I've found can do it via scripts.

IMO it seems important for exiv2 to support svg.

RE: SVG - Added by Alan Pater over 6 years ago

Karl, could you open a new Feature request for SVG support in exiv2?

http://dev.exiv2.org/projects/exiv2/issues/new
    (1-3/3)