mattburns / exiftool.js

A pure javascript implementation of exiftool
MIT License
64 stars 13 forks source link

Support --printConv for numeric output format #7

Open mattburns opened 10 years ago

mattburns commented 10 years ago

In exiftool there is this feature:

-n (--printConv) Read and write values as numbers instead of words. By default, extracted values are converted to a more human-readable format for printing, but the -n option disables this print conversion for all tags. For example:

exiftool -Orientation -S a.jpg Orientation: Rotate 90 CW

exiftool -Orientation -S -n a.jpg Orientation: 6

In exiftool.js, output is currently a bit mixed, we should replicate exiftool behaviour.