Using .bmp images as Slate Brushes

I was able to make my Slate widget work with a png brush, however it just displays a blank image when I use a bmp file. For my use case I need to either create a slate brush out of a 2D Color array, or a bmp image. The image should be created dynamically based on a function being called in Unreal Editor. The bmp image is automatically generated by external software, so manual conversion is out of the question.

Example: Pressing a button in the details panel creates an image in the details panel. The image is generated by a callback function called when the button was pressed.

Perhaps I can convert the bmp into a texture, then use it as a Slate brush? I’m really lost.