Thema: Delphi Webcam in Delphi?

Einzelnen Beitrag anzeigen

Florian H

Registriert seit: 30. Mär 2003
Ort: Mühlacker
1.043 Beiträge
 
Delphi 6 Professional
 
#21

Re: Webcam in Delphi?

  Alt 29. Jun 2005, 20:30
Zitat von Ultimator:
....Zum Thema Bild in die Zwischenablage hab ich hier noch ein paar messages gefunden:
WM_CAP_FILE_SAVEDIB ("The WM_CAP_FILE_SAVEDIB message copies the current frame to a DIB file.")
WM_CAP_FILE_SAVEAS ("The WM_CAP_FILE_SAVEAS message copies the contents of the capture file to another file.")
WM_CAP_FILE_SET_CAPTURE_FILE ("The WM_CAP_FILE_SET_CAPTURE_FILE message names the file used for video capture.")
WM_CAP_FILE_ALLOCATE ("The WM_CAP_FILE_ALLOCATE message creates (preallocates) a capture file of a specified size.")
....
die Möglichkeiten wären aber dann nur zum Speichern auf Festplatte, oder?
das Problem ist, ich mache mit meiner Software alle 5 Sek. ein Bild und will das erst bissl verarbeiten intern (als TBitmap) und dann als JPG wo speichern...
bisher hab ich das auch über das SAVEDIB gemacht, in ein TBitmap geladen und zu TJPEGImage konvertiert... nur alle 5 Sek. son Bitmap auf die Platte schreiben ist arg ungünstig auf dauer für Auslastung und Plattenlebensdauer.
Das mit der Zwischnablage ist ja noch schlimmer, da wäre ja alle 5 Sek. die Zwischenablage weg -.-

gibts da sonst keine Möglichkeit ohne diese unsauberen Wege??
Florian Heft
  Mit Zitat antworten Zitat