+ (MUIBodychunk *) bodychunk

Default constructor

- (UBYTE *) body

Specify a pointer to the BODY data of your picture. This BODY data must follow normal IFF/ILBM conventions.

You have to supply MUIA_Bitmap_Width, MUIA_Bitmap_Height and MUIA_Bodychunk_Depth to describe the contents of the BODY data, otherwise MUI will fail to decompress it.

Body data may be shared between different Bodychunk objects and does not need to be in chip ram.

- (UBYTE) compression

MUI is able to uncompress byte&run compressed BODY chunks automatically. If your data is compressed, you must supply a value of cmpByteRun1 (==1) for this tag. Other compression techniques are not supported.

Omitting this tag or setting it to 0 indicates that the BODY data is uncompressed. Using the Bodychunk class doesn't make much sense in this case since its main purpose is to save memory for big images.

- (LONG) depth

Specify the depth of your picture here. This tag is required for correct BODY chunk parsing. Also remember to use MUIA_Bodychunk_Masking if your BODY data contains a masking bitplane.

- (UBYTE) masking

You must indicate if your BODY data contains a masking plane. Currently, MUI does not use this masking plane for any purpose, but this attribute is required to allow correct parsing of the BODY data.

- (void) noNotifySetBody:(UBYTE *)body
- (void) noNotifySetCompression:(UBYTE)compression
- (void) noNotifySetDepth:(LONG)depth
- (void) noNotifySetMasking:(UBYTE)masking
- (void) setBody:(UBYTE *)body
- (void) setCompression:(UBYTE)compression
- (void) setDepth:(LONG)depth
- (void) setMasking:(UBYTE)masking