Wenn ich
Uses OPBitmapForLaz
eingebe, dann gibt der Compiler bei der Unit LazOpGIF Fehlermeldungen aus:
bei der procedure TFPReaderGIF.InternalRead:
Code: Alles auswählen
E:\LAZARUS\opbitmap1_7\imglibs\lazopgif.pas(115,37) Error: Incompatible type for arg no. 1: Got "OPBITMAP.TPixelFormat", expected "GRAPHICS.TPixelFormat"
Code: Alles auswählen
E:\LAZARUS\opbitmap1_7\imglibs\lazopgif.pas(12,21) Hint: Type "TSharedGIFImage" redefinition
E:\LAZARUS\opbitmap1_7\imglibs\lazopgif.pas(112,25) Warning: Constructing a class "TGIFImage" with abstract method "GetWriterClass"
E:\LAZARUS\opbitmap1_7\imglibs\lazopgif.pas(115,37) Error: Incompatible type for arg no. 1: Got "OPBITMAP.TPixelFormat", expected "GRAPHICS.TPixelFormat"
E:\LAZARUS\opbitmap1_7\imglibs\lazopgif.pas(116,28) Error: identifier idents no member "SetAlpha"
E:\LAZARUS\opbitmap1_7\imglibs\lazopgif.pas(120,61) Error: identifier idents no member "Data"
E:\LAZARUS\opbitmap1_7\imglibs\lazopgif.pas(149,25) Warning: Constructing a class "TGIFImage" with abstract method "GetWriterClass"
E:\LAZARUS\opbitmap1_7\imglibs\lazopgif.pas(155,10) Error: identifier idents no member "Pixels"
E:\LAZARUS\opbitmap1_7\imglibs\lazopgif.pas(174) Fatal: There were 4 errors compiling module, stopping
Außerdem eine Frage: gibt es irgendwo eine Hilfe, um zu wissen, wie man OPBitmap gebrauchen kann?
Ich möchte zB aus einer Bitmap eine TeilBitmap extrahieren. Finde aber nur CopyRect mit einem Canvas.
Es wäre gut (ähnlich wie in der Unit WinGraph), eine kleine HTML- oder CHM-Hilfe zu erstellen. Dann könnte man sich da leichter einarbeiten.
Herzlichen Dank!
P. Nikolaus