2
Copyright (c) 1993-2008, Cognitive Technologies
5
����������� ��������� ��������������� � ������������� ��� � ���� ��������� ����,
6
��� � � �������� �����, � ����������� ��� ���, ��� ���������� ��������� �������:
8
* ��� ��������� ��������������� ��������� ���� ������ ���������� ���������
9
���� ����������� �� ��������� �����, ���� ������ ������� � �����������
11
* ��� ��������� ��������������� ��������� ���� � ������������ �/��� �
12
������ ����������, ������������ ��� ���������������, ������ �����������
13
��������� ���� ���������� �� ��������� �����, ���� ������ ������� �
14
����������� ����� �� ��������.
15
* �� �������� Cognitive Technologies, �� ����� �� ����������� �� �����
16
���� ������������ � �������� �������� ��������� �/��� �����������
17
���������, ���������� �� ���� ��, ��� ���������������� �����������
20
��� ��������� ������������� ����������� ��������� ���� �/��� ������� ������ "���
21
��� ����" ��� ������-���� ���� ��������, ���������� ���� ��� ���������������,
22
������� �������� ������������ �������� � ����������� ��� ���������� ����, �� ��
23
������������� ���. �� �������� ��������� ���� � �� ���� ������ ����, �������
24
����� �������� �/��� �������� �������������� ���������, �� � ���� ������ ��
25
��Ѩ� ���������������, ������� ����� �����, ���������, ����������� ���
26
������������� ������, ��������� � �������������� ��� ���������� ����������
27
������������� ������������� ��������� (������� ������ ������, ��� ������,
28
������� ���������, ��� ������ �/��� ������ �������, ���������� ��-�� ��������
29
������� ��� �/��� ������ ��������� �������� ��������� � ������� �����������,
30
�� �� ������������� ����� ��������), �� �� ������������� ���, ���� ���� �����
31
�������� ��� ������ ���� ���� �������� � ����������� ����� ������� � ������.
33
Redistribution and use in source and binary forms, with or without modification,
34
are permitted provided that the following conditions are met:
36
* Redistributions of source code must retain the above copyright notice,
37
this list of conditions and the following disclaimer.
38
* Redistributions in binary form must reproduce the above copyright notice,
39
this list of conditions and the following disclaimer in the documentation
40
and/or other materials provided with the distribution.
41
* Neither the name of the Cognitive Technologies nor the names of its
42
contributors may be used to endorse or promote products derived from this
43
software without specific prior written permission.
45
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
46
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
47
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
48
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
49
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
50
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
51
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
52
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
53
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
54
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
62
// General descriptor for available image disk formats.
63
struct TFormatDescriptor
70
#define FD_READAVAIL 0x0001
71
#define FD_WRITEAVAIL 0x0002
73
#define FD_GREYAVAIL 0x0004
74
#define FD_BWAVAIL 0x0008
75
#define FD_COLORAVAIL 0x0010
77
#define FD_MULTIPAGE 0x0020
79
#define FD_BWDEF 0x0040 // Default formats for image types
80
#define FD_GREYDEF 0x0080
81
#define FD_COLORDEF 0x0100
83
#define FD_FIRSTLASTONLY 0x0200 // Format supports DIB line sequence only
84
#define FD_FORCEBWNEGATIVE 0x0400 // Format supports negative fotometric only B&W
85
#define FD_FORCEGRAYNEGATIVE 0x0800 // Format supports negative fotometric only B&W
87
Word32 iWLEntry; // Reserved for internal use
89
}; _SETTYPES( TFormatDescriptor )
91
typedef struct tagIFS_FORMATLISTSTRUCT{
93
PTFormatDescriptor ifsFDL;
94
}IFS_FORMATLISTSTRUCT;
96
_SETTYPES( IFS_FORMATLISTSTRUCT );
99
// File Types constants (Ids in TFormatDescriptor)
101
#define IAPI_TIFF_UNCOMPRESSED 0
102
#define IAPI_BMP_UNCOMPRESSED 1
108
#define IAPI_TIFF_HUFFMAN 7
109
#define IAPI_TIFF_G3_FAX 8
110
#define IAPI_TIFF_LZW 9
111
#define IAPI_TIFF_G4_FAX 10
113
#define IAPI_BMP_COMPRESSED 12
117
#define IAPI_TIFF_PACK 16
118
#define IAPI_TIFF_2D 17
120
#define IAPI_LASER_DATA 19
122
#define IAPI_MACPAINT 21
124
#define IAPI_KOFAX 23
127
#define IAPI_IFF_ILBM 26
130
#define IAPI_BROOK_TROUT 29
133
#define IAPI_TARGA16 32
134
#define IAPI_CCITT_G3 33
135
#define IAPI_CCITT_G4 34
139
#define IAPI_ASCII 38
140
#define IAPI_PHOTOCD 39
141
#define IAPI_TIFF_JPEG 40
142
#define IAPI_PHOTOSHOP 41
143
#define IAPI_IMNET 42
144
#define IAPI_PCL_1 43
145
#define IAPI_PCL_5 44
147
#define IAPI_CTL2XX 45 // Attention !!! If You will upgrade
148
// AccuSoft You MUST check this value
149
// It can't be smaller than MAXFILTERS
151
#define _2XX_WINSTRING "CT Native (.2xx)\0*.2xx\0"
152
#define _2XX_CAPTION "CT Native (.2xx)"
153
#define _2XX_EXTENSION "*.2xx"
156
#endif //__IMGFRMTS_H