Open JedrzejczykRobert opened 2 months ago
current:
function TRGBLuminanceSource.CreateLuminanceSource( const newLuminances: TArray<Byte>; const width, height: Integer): TLuminanceSource; begin Result := TRGBLuminanceSource.Create(width, height); luminances := newLuminances; end;
should be:
function TRGBLuminanceSource.CreateLuminanceSource( const newLuminances: TArray<Byte>; const width, height: Integer): TLuminanceSource; begin Result := TRGBLuminanceSource.Create(newLuminances, width, height, TBitmapFormat.Gray8); end;
current:
should be: