I think, my problem is not that different.
I also get those artefacts when Creating Fonts.
I noticed similary artefacts in Brushes, if they were rotated.
And also I only notice those Artefacts, when I save the Brushes to disk or import them directly into Polybios.
I have a similary workaround for this, which gives them back their transparency...
Code: Select all
LoadBrush (1, "Pic which should get transparency back")
RotateBrush(1, 45)
CreateBrush(2, GetAttribute(#BRUSH, 1, #ATTRWITH), GetAttribute(#BRUSH, 1, #ATTRHEIGHT,anycolor)
SelectAlphaChannel(2)
SetAlphaIntensity(1) <----Important. If Intensity is not zero, it will be saved to disk...
Cls()
EndSelect()
SelectBrush(2,#SELMODE_COMBO,1)
DisplayBrush(1, #CENTER, #CENTER)
EndSelect
SaveBrush(2, "TransparentPicture.png, #NOTRANSPARENCY, #IMGFMT_PNG)
A transparency of 1 is really not visible At least if you do not know the trick...
Maybe this helps someone...
Best regards
Evil