I've tried to detect file info (es mimetype) from SVG file, but support missing.
Is a bug, o I must request the feature? Is possible to support this type of file?
Output:
ExifTool Version Number : 11.65
File Name : svg.svg
Directory : D:/image_test
File Size : 1204 bytes
File Modification Date/Time : 2019:07:10 14:50:19+02:00
File Access Date/Time : 2019:09:16 10:29:11+02:00
File Creation Date/Time : 2019:09:16 09:07:28+02:00
File Permissions : rw-rw-rw-
Error : File format error
Hmm, I think Phil needs to have a look at this one; the file looks fine (I can view the image in my browser), but exiftool doesn't like it somehow...
After adding the XML declaration
<?xml version="1.0" encoding="UTF-8"?>
at the begin of the file, exiftool recognize the svg file. I'm not sure if this is required in svg files or if this is optional.
I've export the svg file directly from an photoshop project.
The file have the header if is exported with illustrator.
A lot of svg file that can be found in the web haven't this string.
@Phil Harvey There isn't a solution to this problem?
Must I append the header?
Phil is currently on holiday but is due back tomorrow. I'm sure he'll respond in the coming days.
Thanks for this report. ExifTool 11.66 will properly identify these files.
- Phil
Thanks a lot! ;D ;D ;D
ExifTool 11.66 is now available.
- Phil
I've tried and now works perfectly.
Thanks a lot for your work.