summaryrefslogtreecommitdiffstats
path: root/tcllib/modules/jpeg/jpeg.pcx
blob: 4b626c195e619b8a0176660a566978bd18d5e29b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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