Page 1 of 1

Problem with BMP brushes on AROS

Posted: Tue Jan 29, 2013 11:18 pm
by Mazze
This sample...

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()
... 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".

Image

Re: Problem with BMP brushes on AROS

Posted: Wed Jan 30, 2013 11:16 am
by Allanon
Hi Mazze,
I've done a quick test on windows, no problems here:

Image

Re: Problem with BMP brushes on AROS

Posted: Wed Jan 30, 2013 5:03 pm
by airsoftsoftwair
@Mazze: Open the *.bmp file with Multiview to see if it's a fault of the AROS bmp.datatype.

Re: Problem with BMP brushes on AROS

Posted: Wed Jan 30, 2013 7:17 pm
by Mazze
Allanon wrote:Hi Mazze,
I've done a quick test on windows, no problems here:
Thanks.

Re: Problem with BMP brushes on AROS

Posted: Wed Jan 30, 2013 7:19 pm
by Mazze
Andreas wrote:@Mazze: Open the *.bmp file with Multiview to see if it's a fault of the AROS bmp.datatype.
Oh, yes. Same corruption. /me kicks butts of AROS developers :lol:

Re: Problem with BMP brushes on AROS

Posted: Fri Feb 15, 2013 7:09 pm
by Mazze
BMP datatype has been fixed in AROS by Neil Cafferkey.