Problem with BMP brushes on AROS
Posted: Tue Jan 29, 2013 11:18 pm
This sample...
... causes on AROS a corrupt picture for the BMP format. I guess that AROS' BMP datatype is buggy. Please, confirm if this works for "the others".

Code: Select all
@DISPLAY 1, {Color = #SILVER}
CreateBrush(1, 50, 50, #GREEN)
SelectBrush(1)
Circle(0, 0, 25, #RED)
EndSelect
DisplayBrush(1, 0, 0)
SaveBrush(1, "tst.bmp")
SaveBrush(1, "tst.png", #BLACK, #IMGFMT_PNG)
LoadBrush(2, "tst.bmp")
DisplayBrush(2, 50, 0)
LoadBrush(3, "tst.png")
DisplayBrush(3, 100, 0)
WaitLeftMouse()

