Files
FireBee_Setup/devtools/gbe/include/codec.lst
2022-11-14 10:05:42 +01:00

27 lines
1.5 KiB
Plaintext

' zview codec (plugin), _img_info structure: 1128 bytes
LET ii_width&=0 !& image width in pixels
LET ii_height&=2 !& image height in pixels
LET ii_components&=4 !& * 1=mono 3=color mapped or true-color
LET ii_planes&=6 !& info only, can't rely on it
LET ii_colors&=8 !% info only, can't rely on it
LET ii_orientation&=12 !& 0=normal 1=needs flipped
LET ii_page&=14 !& number of pages/frames in the file
LET ii_delay&=16 !& used for animations
LET ii_num_comments&=18 !& comments extracted from the image file
LET ii_max_comments_length&=20 !& length in byte of the largest comment extracted
LET ii_indexed_color&=22 !& * 0=mono or true-coloe 1=color mapped
LET ii_memory_alloc&=24 !& internal use
LET ii_palette&=26 !| padded to 4 bytes, 'rgb0', thus 256*4 bytes total
LET ii_background_color&=1050 !% as a long '0rgb'
LET ii_thumbnail&=1054 !& 0=no 1=yes (infomational only)
LET ii_page_wanted&=1056 !& request this page, 0 to ?
LET ii_info&=1058 !$ null terminated text (39+null=40)
LET ii_compression&=1098 !$ null terminated text (5+null=6)
LET ii_real_width&=1104 !& only valid with thumbnails
LET ii_real_height&=1106 !& ...
' _priv_ptr = 1108 !% don't mess with these
' _priv_ptr_more = 1112 !% ...
' __priv_ptr_more = 1116 !% ...
' _priv_var = 1120 !% ...
' _priv_var_more = 1124 !% ...