Bitmap class for the Mufasa library Called when destroying the TMufasaBitmap Name of the bitmap. Mainly for debugging purposes. Set the bitmap to the given size. Returns true if the point is within the bitmap size. Posterizes the target bitmap Invert the colours on the bitmap. Change contrast. Change brightness Greyscales the bitmap Desaturates the bitmap. Rotate the bitmap. Copy (a part of) the Window to the bitmap. Replace OldColor with NewColor. Fill the bitmap with a specific colour. Return the bitmap data in a two dimensional array. Return the corresponding colour of each point. Returns the colour at the corresponding point. Draw the bitmap on a canvas. Draw the points in the tpointarray on the bitmap with the given colour. Loads a bitmap from a RawImage type. This can be virtually any type. As long as the RawImage is specified correctly, this function will load it and transform it into a TMufasaBitmap. It will do all the necessary shifts and swizzles to get the image in the TMufasaBitmap format. Load the data of a TBitmap into the TMufasaBitmap Turn the bitmap data into a string, base64 encoded. Creates a TBitmap from a TMufasaBitmap. Create a (partial) copy of the TMufasaBitmap. Load a TMufasaBitmap from file. All bitmap types supported by TLazIntFImage are supported. Path to the file that is to be loaded. Save the TMufasaBitmap to a file. Create a TRawImage from passed pixel data.