Autor Beitrag
henny
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 126



BeitragVerfasst: Sa 18.07.09 16:18 
Wie kann ich den Inhalt (Bild) eines Panels speichern?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 18.07.09 16:38 
henny Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 126



BeitragVerfasst: Sa 18.07.09 17:20 
Ich meine das nicht so das das Bild des Panels sondern der Inhalt des Panels gespeichert wird
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Sa 18.07.09 17:49 
Was verstehst du denn unter "Inhalt (Bild)" aber nicht Bild?

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
henny Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 126



BeitragVerfasst: So 19.07.09 11:10 
O.K.
Also
ich möchte einfach die Ganze Grafik die sich im Panel befindet speichern
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 19.07.09 11:12 
Wenn es eine normale Grafik ist, klappt der Link oben.

Wenn es eine DirectShow Einblendung ist, dann geht das wie im anderen Thread schon gesagt, eben nicht. Aber wozu erst aufs Panel und dann woanders hin? :gruebel:
henny Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 126



BeitragVerfasst: So 19.07.09 11:16 
Also jetzt noch mal langsam
ich möchte das es einen Button in meinem Project gibt und wenn man da drauf drückt dann soll das Bild stehen bleiben
Wie kann ich das machen?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 19.07.09 11:17 
Wenn es immer noch um die Webcam geht, dann habe ich das hier bereits geschrieben:
www.delphi-forum.de/....php?p=571878#571878
ffgorcky
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 573

WIN XP/2000 & 7Prof (Familie:Win95,Win98)

BeitragVerfasst: So 19.07.09 13:20 
user profile iconhenny hat folgendes geschrieben Zum zitierten Posting springen:
ich möchte das es einen Button in meinem Project gibt und wenn man da drauf drückt dann soll das Bild stehen bleiben


Was ist den alles auf Deinem Panel?
Also wenn ich das gerade richtig verstehe, dann möchtest Du dann nur keine Veränderungen (zumindest keine sichtbaren) mehr in Deinem Programm zulassen...
Das ginge doch einfach nur, indem Du eine boolsche Form-Variable setzt (z.B. starre), die Du dann gleich true setzt, wenn Du keine Veränderungen mehr haben möchtest.
Also würdest Du dann vor dem Druchrführen einer jeglichen Veränderung nur if not starre then abfragen müssen - damit hast Du dann nur die Veränderungen, wenn Du sie möchtest - also in meinem Fall starre:=false; setzt...

...oder habe ich Dein Problem jetzt gerade total missverstanden?
Dann solltest Du evtl mal den dafür relevanten Quelltext hier posten.


Zuletzt bearbeitet von ffgorcky am So 19.07.09 13:23, insgesamt 1-mal bearbeitet
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 19.07.09 13:22 
user profile iconffgorcky hat folgendes geschrieben Zum zitierten Posting springen:
Was ist den alles auf Deinem Panel?
Es geht hier den anderen Posts nach zu urteilen um ein Bild einer Webcam, das nur an die Stelle des Bildschirms eingeblendet wird. Wenn man also einfach nur ein Bild des Panels über dessen DC macht, dann bekommt man nur einen schwarzen Fleck. An die Stelle wird das Bild dann via DirectShow direkt in den Grafikspeicher geschrieben...