[lazarus] Win32 fpimage support + cleanups (affects gtk)
Micha Nelissen
M.Nelissen at student.tue.nl
Thu Nov 13 12:57:16 EST 2003
Micha Nelissen wrote:
> Mattias Gaertner wrote:
>
>> On Wed, 12 Nov 2003 22:09:55 +0100
>> Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
>>
>>
>>> Heh, tried an updated version of speedtest.pp. To penguin turns up
>>> blue+pink :). Is RRGGBB swapped incorrectly then?
>>
>>
>> The penguin is like any other penguin black and white.
>> If you got colors, then
>> - the xpm color map loading is buggy
>> - the creation of the pixels is buggy.
>>
>> Please check the CreatePixmapIndirect function in the win32 intf.
>>
>> Or: wait till we find a clean solution for rawimages and you and I
>> will have
>> implemented it.
>
>
> I am trying this with the rawimages :). I now have the colours of the
> main bitmap ok, but the alpha bitmap is still a problem. It looks weird,
> not the outline of the penguin, but...can't really tell. I have
Now I think I see it: it seems the bytes are swapped within the dwords
or so. Weird that the bitmap looks good, but the alpha mask does not.
Micha.
More information about the Lazarus
mailing list