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...
I need to convert a bmp image to 4 bits pixel format, in windows / delphi I
just use :
bmp.pixelformat :=pf4bit;
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 :
procedure TCustomBitmap.SetPixelFormat(AValue: TPixelFormat);
begin
if AValue = FPixelFormat then Exit;
{$IFDEF VerboseLCLTodos}{$note todo copy image into new format }{$ENDIF}
FreeImage;
FPixelFormat := AValue;
end;
So apparently it is not implemented yet. By any chance anyone know how to do
this?
Thanks in advance,
Juan Carlos
Fedora 17 64 bits
Lazarus IDE 0.9.30.4--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus