Method Image.TIM.decode_header()


Method decode
Method decode_alpha
Method decode_header
Method _decode

object decode(string data)
object decode_alpha(string data)
mapping decode_header(string data)
mapping _decode(string data)

Description

decodes a TIM image

The decode_header and _decode has these elements:

   "image":object            - image object    \- not decode_header
   "alpha":object            - decoded alpha   /
 
   "type":"image/x-tim"      - image type
   "xsize":int               - horisontal size in pixels
   "ysize":int               - vertical size in pixels
   "attr":int                - texture attributes