没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > cl-jpegmeta |
|
cl-jpegmeta
|
| 0 | 0 | 9 |
| 贡献者 | 讨论 | 代码提交 |
CL-JPEGMETA is a library for image metadata manipulation. It currently reads and writes IIM-style IPTC fields, but will hopefully support EXIF fields and XMP metadata at some point in the future.
DependenciesThis relies heavily on the binary data parsing routines introduced by Peter Siebel in his excellent book. Without them, I don't think I'd even have bothered writing this.
The code is self-contained, though, and doesn't have any external dependencies.
Current versionThe current version is 0.0.1. I don't know if version numbering is meaningful this early, though.
Tested onI've run CL-JPEGMETA on SBCL (1.0.?, under Windows XP and Mac OS X (intel)), LispWorks Personal Edition (Windows XP) and CLISP (Windows XP).
Example usagecl-user> (require 'jpegmeta)
NIL
cl-user> (defparameter my-jpeg (jpegmeta:read-jpeg-from-file "foo.jpg"))
JPEG
cl-user> (jpegmeta:get-iptc-fields jpeg)
((:OBJECT-NAME . "Example image") (:BYLINE . "Fredrik Appelberg")
(:CAPTION-ABSTRACT "This is just an example image with rather pointless metadata."))
cl-user> (defparameter my-modified-jpeg
(jpegmeta:set-iptc-fields my-jpeg
'((:OBJECT-NAME . "Modified image")
(:CAPTION-ABSTRACT . "New metadata that overwrites the previous stuff."))))
MY-MODIFIED-JPEG
cl-user> (jpegmeta:write-jpeg-to-file my-modified-jpeg "modified-foo.jpg")ContactKindly direct bug reports, praise, flames, etc. to fredrik.appelberg@gmail.com
标签:
