diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-10-27 19:39:39 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-10-27 19:39:39 (GMT) |
commit | ea28451286d3ea4a772fa174483f9a7a66bb1ab3 (patch) | |
tree | 6ee9d8a7848333a7ceeee3b13d492e40225f8b86 /tcllib/modules/jpeg/jpeg.pcx | |
parent | b5ca09bae0d6a1edce939eea03594dd56383f2c8 (diff) | |
parent | 7c621da28f07e449ad90c387344f07a453927569 (diff) | |
download | blt-ea28451286d3ea4a772fa174483f9a7a66bb1ab3.zip blt-ea28451286d3ea4a772fa174483f9a7a66bb1ab3.tar.gz blt-ea28451286d3ea4a772fa174483f9a7a66bb1ab3.tar.bz2 |
Merge commit '7c621da28f07e449ad90c387344f07a453927569' as 'tcllib'
Diffstat (limited to 'tcllib/modules/jpeg/jpeg.pcx')
-rw-r--r-- | tcllib/modules/jpeg/jpeg.pcx | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/tcllib/modules/jpeg/jpeg.pcx b/tcllib/modules/jpeg/jpeg.pcx new file mode 100644 index 0000000..4b626c1 --- /dev/null +++ b/tcllib/modules/jpeg/jpeg.pcx @@ -0,0 +1,83 @@ +# -*- tcl -*- jpeg.pcx +# Syntax of the commands provided by package jpeg. +# +# For use by TclDevKit's static syntax checker (v4.1+). +# See http://www.activestate.com/solutions/tcl/ +# See http://aspn.activestate.com/ASPN/docs/Tcl_Dev_Kit/4.0/Checker.html#pcx_api +# for the specification of the format of the code in this file. +# + +package require pcx +pcx::register jpeg +pcx::tcldep 0.3.2 needs tcl 8.2 + +namespace eval ::jpeg {} + +#pcx::message FOO {... text ...} type +#pcx::scan <VERSION> <NAME> <RULE> + +pcx::check 0.3.2 std ::jpeg::addComment \ + {checkSimpleArgs 2 -1 { + checkFileName + checkWord + }} +pcx::check 0.3.2 std ::jpeg::debug \ + {checkSimpleArgs 1 1 { + checkFileName + }} +pcx::check 0.3.2 std ::jpeg::dimensions \ + {checkSimpleArgs 1 1 { + checkFileName + }} +pcx::check 0.3.2 std ::jpeg::exifKeys \ + {checkSimpleArgs 0 0 {}} +pcx::check 0.3.2 std ::jpeg::formatExif \ + {checkSimpleArgs 1 1 { + checkDict + }} +pcx::check 0.3.2 std ::jpeg::getComments \ + {checkSimpleArgs 1 1 { + checkFileName + }} +pcx::check 0.3.2 std ::jpeg::getExif \ + {checkSimpleArgs 1 2 { + checkFileName + {checkKeyword 1 {main thumbnail}} + }} +pcx::check 0.3.2 std ::jpeg::getThumbnail \ + {checkSimpleArgs 1 1 { + checkFileName + }} +pcx::check 0.3.2 std ::jpeg::imageInfo \ + {checkSimpleArgs 1 1 { + checkFileName + }} +pcx::check 0.3.2 std ::jpeg::isJPEG \ + {checkSimpleArgs 1 1 { + checkFileName + }} +pcx::check 0.3.2 std ::jpeg::markers \ + {checkSimpleArgs 1 1 { + checkChannelID + }} +pcx::check 0.3.2 std ::jpeg::removeComments \ + {checkSimpleArgs 1 1 { + checkFileName + }} +pcx::check 0.3.2 std ::jpeg::removeExif \ + {checkSimpleArgs 1 1 { + checkFileName + }} +pcx::check 0.3.2 std ::jpeg::replaceComment \ + {checkSimpleArgs 2 2 { + checkFileName + checkWord + }} +pcx::check 0.3.2 std ::jpeg::stripJPEG \ + {checkSimpleArgs 1 1 { + checkFileName + }} + +# Initialization via pcx::init. +# Use a ::jpeg::init procedure for non-standard initialization. +pcx::complete |