<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hi, This is my first time in the mailing list, and also my first time
trying to port an application from delphi, so please be kind, I will need a LOT
of help...</DIV>
<DIV> </DIV>
<DIV>I need to convert a bmp image to 4 bits pixel format, in windows / delphi I
just use :</DIV>
<DIV> </DIV>
<DIV>bmp.pixelformat :=pf4bit;</DIV>
<DIV> </DIV>
<DIV>but in linux / lazarus It just appears to delete the image. Tracing
the program step by step I can see in the file custombitmap.inc :</DIV>
<DIV> </DIV>
<DIV>procedure TCustomBitmap.SetPixelFormat(AValue: TPixelFormat);</DIV>
<DIV>begin</DIV>
<DIV> if AValue = FPixelFormat then Exit;</DIV>
<DIV> {$IFDEF VerboseLCLTodos}{$note todo copy image into new format
}{$ENDIF}</DIV>
<DIV> FreeImage;</DIV>
<DIV> FPixelFormat := AValue;</DIV>
<DIV>end; </DIV>
<DIV> </DIV>
<DIV>So apparently it is not implemented yet. By any chance anyone
know how to do this? </DIV>
<DIV> </DIV>
<DIV>Thanks in advance,</DIV>
<DIV> </DIV>
<DIV>Juan Carlos</DIV>
<DIV>Fedora 17 64 bits </DIV>
<DIV>Lazarus IDE 0.9.30.4</DIV></DIV></DIV></BODY></HTML>