Bug painting 32bits tbitmaps on linux lazarus.
Original Reporter info from Mantis: dcelso
-
Reporter name: DCelso
Original Reporter info from Mantis: dcelso
- Reporter name: DCelso
Description:
Lazarus fails painting alpha channel on 32bits tbitmaps, it uses only transparent or not transparent pixel skipping trasnlucent pixels.
Only happens on linux, the same example works perfectly on windows.
I done test with different methods to paint 32bits tbitmaps with same results.
In my example I create on memory the image so it is no needed load any bitmap to test and see the bug. But if you open a 32bit bitmap image happens another bugs, seems bad alligmend rgba data so the image is seems randly pixel colors painted.
Steps to reproduce:
Create a new application on linux lazarus.
Insert in the form a timage.
Insert a button.
Code the button to create a tbitmap with pt32bit and assign it to the timage.picture.
Additional information:
Attachs a more complex example doing it and some differents methods.
To text, only you need press the button.
Mantis conversion info:
- Mantis ID: 23823
- OS: linux
- OS Build: debian wheezy
- Platform: i386
- Version: 1.1 (SVN)