Extracting EXIF data in JSON format
Posted: 2016-12-02T21:16:11-07:00
I've recently found out that you can fetch the `identify -verbose` data in JSON format by doing `convert image.jpg json:`, which is really cool!
Currently I'm fetching EXIF information using `identify -format '%[EXIF:*]'`, since it's much faster than fetching all image data. However, it's not so straightforward to parse the output, because some EXIF data span multiple lines. Is it possible to retrieve only the EXIF data in JSON format?
Currently I'm fetching EXIF information using `identify -format '%[EXIF:*]'`, since it's much faster than fetching all image data. However, it's not so straightforward to parse the output, because some EXIF data span multiple lines. Is it possible to retrieve only the EXIF data in JSON format?