Recent

Author Topic: creating tbitmap 8 bits in lazarus linux  (Read 2250 times)

dcelso

  • Full Member
  • ***
  • Posts: 158
creating tbitmap 8 bits in lazarus linux
« on: January 31, 2013, 10:39:44 pm »
How can i create a 8bit tbitmap with a custom palette?

I tried this.
Bmp : =  tbitmap.create
Bmp.pixelformat:=pf8bit

But when i read after those property it is in pf24bit.

I tried create a palette. But i cannot localized createpalette function that was in Delphi.

Any one know why can not i use pf8bit ?
Any one know another method to create palettes?

 

TinyPortal © 2005-2018