Function LoadVideoAsset:TImage(FileName:String) Local Pix:TPixmap = LoadPixmap(ENV_ASSETS_VIDEO_PATH + FileName + ENV_ASSETS_VIDEO_EXTENSION) Local ScaledPix:TPixmap = ResizePixmap(Pix,PIXEL_SCALE_X * GPU_NUM_FRAMES_PER_ANIM, PIXEL_SCALE_Y) Local Image:TImage = LoadAnimImage(ScaledPix,PIXEL_SCALE_X,PIXEL_SCALE_Y,0,GPU_NUM_FRAMES_PER_ANIM) Return ImageEnd Function
Function LoadVideoAsset:TImage(FileName:String) Local Image:TImage = LoadAnimImage(ENV_ASSETS_VIDEO_PATH + FileName + ENV_ASSETS_VIDEO_EXTENSION,24,24,0,4) Return ImageEnd Function
Dunno why people do not simply attach a screenshot showing the issue (here the original image/part of it, and then app displaying it wrong).Thought we had an issue with MSPaint and 24bit images in the past already (RLE encoded vs another variant).byeRon