I have had an issue with the Tbitmap32. To fix the problem i made a smaller program that just tried to load from a file and then save it//display it but i just keep getting a black background.
I made an even simpler application that creates a bitmap; draws on the canvas and then tries to assign and save it. Eveything that is returned is a black background. I tried a suggestion calling test.changed and then test.canvas.changed
test:=Tbitmap32.create(TLCLBackend);
test.beginupdate;
test.setsize(300,300);
test.Canvas.moveto(0,0);
test.canvas.Pen.Color:=clred;
test.canvas.pen.width:=5;
test.canvas.lineto(100,100);
test.canvas.Brush.Color:=clred;
test.canvas.Brush.Style:=bssolid;
test.canvas.FillRect(0,0,100,100);
test.endupdate;
test.Canvas.Changed;
image1.bitmap.assign(test);
test.savetofile('/home/[username]/Desktop/Blank image.bmp');
Im using 64 bit linux and im using the latest library from the online packagemanager but no matter what i try i cannot get anything other that a black background. Is there something i am missing or is there a very basic application that demonstrates the proper usage for this library?