Pixmaps on the TImage

BlitzMax Forums/BlitzMax Beginners Area/Pixmaps on the TImage

Josepho(Posted 2006) [#1]
Hi, anybody can tellme wich field of the TImage class keeps the pixmaps of the animated images?

In the blitzwiki says this

# masks:TPixmap[] : Array of image masks for each frame

but when i try something like

ConvertPixmap(sp_image.masks[1],PF_A8)

tellsme that the identifier masks is not found :/


H&K(Posted 2006) [#2]
Did you try this first?
ConvertPixmap(sp_image.masks[0],PF_A8)


Brendane(Posted 2006) [#3]
Field pixmaps:TPixmap[]