Registriert seit: 6. Apr 2011
Ort: Berlin
3.070 Beiträge
Delphi 10.4 Sydney
|
AW: MJPEG Stream anzeigen
27. Aug 2014, 13:19
Delphi-Quellcode:
uses
System.Diagnostics
...
var
LStopWatch : TStopwatch;
begin
LStopWatch := System.Diagnostics.TStopwatch.StartNew;
jpeg.LoadfromStream(jpegstream);
image1.Picture.Bitmap.assign(JPEG)
// oder
image1.canvas.draw(0,0,jpeg);
LStopWatch.Stop;
Caption := IntToStr(LStopWatch.ElapsedMilliseconds);
Was kommen denn da so wie Zeiten bei rum?
|