diff options
author | Arun Isaac | 2017-03-01 22:40:15 +0530 |
---|---|---|
committer | Arun Isaac | 2017-03-01 22:40:15 +0530 |
commit | 799076ae62d96e9d502f1189217b04ffdda2dc1a (patch) | |
tree | d94db72bb23b5d75a7a46380fa1eb3cc3705b6f6 | |
parent | c6ff053f19fe052f39c59a2a3706da88fdcbdc15 (diff) | |
download | exiftool.el-799076ae62d96e9d502f1189217b04ffdda2dc1a.tar.gz exiftool.el-799076ae62d96e9d502f1189217b04ffdda2dc1a.tar.lz exiftool.el-799076ae62d96e9d502f1189217b04ffdda2dc1a.zip |
Update README.v0.2
* README.org: Rename library to exiftool.el.
-rw-r--r-- | README.org | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -1,16 +1,16 @@ -el-exiftool is an elisp wrapper around [[http://www.sno.phy.queensu.ca/~phil/exiftool/][ExifTool]]. ExifTool supports +exiftool.el is an elisp wrapper around [[http://www.sno.phy.queensu.ca/~phil/exiftool/][ExifTool]]. ExifTool supports reading and writing metadata in various formats including [[wikipedia:Exif][EXIF]], [[wikipedia:Extensible_Metadata_Platform][XMP]] and [[wikipedia:IPTC_Information_Interchange_Model][IPTC]]. There is a significant overhead in loading ExifTool for every command -to be exected. So, el-exiftool starts an ExifTool process in the +to be exected. So, exiftool.el starts an ExifTool process in the [[http://www.sno.phy.queensu.ca/~phil/exiftool/#performance][-stay_open mode]], and passes all commands to it. * Functions ** High level functions -*** (el-exiftool-read FILE TAG...) +*** (exiftool-read FILE TAG...) Read TAGS from FILE, return an alist mapping TAGS to values. @@ -18,11 +18,11 @@ If a tag is not found, return an empty string "" as the value. If no TAGS are specified, read all tags from FILE. #+BEGIN_SRC emacs-lisp - (el-exiftool-read "test1.png" "ImageSize") + (exiftool-read "test1.png" "ImageSize") ;; => '(("ImageSize" . "64x64")) - (el-exiftool-read "test1.png" "ImageSize" "Interlace") + (exiftool-read "test1.png" "ImageSize" "Interlace") ;; => '(("ImageSize" . "64x64") ("Interlace" . "Noninterlaced")) - (el-exiftool-read "test1.png") + (exiftool-read "test1.png") ;; => '(("ExifToolVersion" . "10.20") ;; ("FileName" . "test1.png") ;; ("Directory" . ".") @@ -37,7 +37,7 @@ TAGS are specified, read all tags from FILE. ;; ("ImageWidth" . "64") ...) #+END_SRC -*** (el-exiftool-write FILE (TAG . VALUE)...) +*** (exiftool-write FILE (TAG . VALUE)...) Write tags to FILE. @@ -46,14 +46,14 @@ Specifying the empty string "" for VALUE deletes that TAG. #+BEGIN_SRC emacs-lisp ;; Set Marked to "True" - (el-exiftool-write "test1.png" '("Marked" . "True")) + (exiftool-write "test1.png" '("Marked" . "True")) ;; Set Marked to "True", and Creator to "Foo" - (el-exiftool-write "test1.png" + (exiftool-write "test1.png" '("Marked" . "True") '("Creator" . "Foo")) #+END_SRC -*** (el-exiftool-copy SOURCE DESTINATION &rest TAGS) +*** (exiftool-copy SOURCE DESTINATION &rest TAGS) Copy TAGS from SOURCE file to DESTINATION file. @@ -61,23 +61,23 @@ If no TAGS are specified, copy all tags from SOURCE. #+BEGIN_SRC emacs-lisp ;; Copy all writable tags - (el-exiftool-copy "source.png" "destination.png") + (exiftool-copy "source.png" "destination.png") ;; Copy only the tag Marked - (el-exiftool-copy "source.png" "destination.png" "Marked") + (exiftool-copy "source.png" "destination.png" "Marked") ;; Copy only the tags Marked and Creator - (el-exiftool-copy "source.png" "destination.png" "Marked" "Creator") + (exiftool-copy "source.png" "destination.png" "Marked" "Creator") #+END_SRC ** Low level functions -*** (el-exiftool-command &rest ARGS) +*** (exiftool-command &rest ARGS) Execute a command in the currently running exiftool process. ARGS are arguments of the command to be run, as provided to the exiftool command line application. -*** (el-exiftool-run) +*** (exiftool-run) Start an exiftool process if one is not already running. @@ -94,6 +94,6 @@ Tests are located in the /tests/ folder. You can run them using * License -el-exiftool is free software released under the terms of the [[https://www.gnu.org/licenses/gpl.txt][GNU +exiftool.el is free software released under the terms of the [[https://www.gnu.org/licenses/gpl.txt][GNU General Public License]], either version 3 of the License, or (at your option) any later version. |