Subversion Repositories Kolibri OS

Rev

Rev 2388 | Rev 2733 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2388 Rev 2684
Line 15... Line 15...
15
;; You should have received a copy of the GNU Lesser General Public License along with Libs-Dev.  ;;
15
;; You should have received a copy of the GNU Lesser General Public License along with Libs-Dev.  ;;
16
;; If not, see .                                                    ;;
16
;; If not, see .                                                    ;;
17
;;                                                                                                ;;
17
;;                                                                                                ;;
18
;;================================================================================================;;
18
;;================================================================================================;;
Line -... Line 19...
-
 
19
 
-
 
20
; list of format id's
-
 
21
LIBIMG_FORMAT_ID_BMP	= 1
-
 
22
LIBIMG_FORMAT_ID_ICO	= 2
-
 
23
LIBIMG_FORMAT_ID_CUR	= 3
-
 
24
LIBIMG_FORMAT_ID_GIF	= 4
-
 
25
LIBIMG_FORMAT_ID_PNG	= 5
-
 
26
LIBIMG_FORMAT_ID_JPEG	= 6
-
 
27
LIBIMG_FORMAT_ID_TGA	= 7
-
 
28
LIBIMG_FORMAT_ID_PCX	= 8
-
 
29
LIBIMG_FORMAT_ID_XCF	= 9
-
 
30
LIBIMG_FORMAT_ID_TIFF	= 10
-
 
31
LIBIMG_FORMAT_ID_PNM	= 11
-
 
32
LIBIMG_FORMAT_ID_WBMP	= 12
-
 
33
LIBIMG_FORMAT_ID_Z80	= 13
-
 
34
 
-
 
35
; error codes
-
 
36
LIBIMG_ERROR_OUT_OF_MEMORY = 1
-
 
37
LIBIMG_ERROR_FORMAT        = 2
-
 
38
LIBIMG_ERROR_CONDITIONS    = 3
-
 
39
LIBIMG_ERROR_BIT_DEPTH     = 4
-
 
40
LIBIMG_ERROR_ENCODER       = 5
-
 
41
 
-
 
42
; encode flags (byte 0x02 of _common option)
-
 
43
LIBIMG_ENCODE_STRICT_SPECIFIC  = 0x01
-
 
44
LIBIMG_ENCODE_STRICT_BIT_DEPTH = 0x02
-
 
45
LIBIMG_ENCODE_DELETE_ALPHA     = 0x08
Line 19... Line 46...
19
 
46
LIBIMG_ENCODE_FLUSH_ALPHA      = 0x10
-
 
47
 
20
 
48
struct FormatsTableEntry
21
struct FormatsTableEntry
49
  Format_id	dd ?
22
  Is     dd ?
50
  Is		dd ?
-
 
51
  Decode	dd ?
23
  Decode dd ?
52
  Encode	dd ?
Line 24... Line 53...
24
  Encode dd ?
53
  Capabilities	dd ?
25
ends
54
ends
26
 
55