pc_melsa
asked on
How to capture the VCD's images ?
Dear Experts, please help !
How to capture the VCD's images ?
Thanks from apin
How to capture the VCD's images ?
Thanks from apin
video cd ??
screencapture ?
procedure TForm1.CaptureScreen;
var
DeskTopDC: HDc;
DeskTopCanvas: TCanvas;
DeskTopRect: TRect;
begin
DeskTopDC := GetWindowDC(GetForeGroundW indow);
DeskTopCanvas := TCanvas.Create;
DeskTopCanvas.Handle := DeskTopDC;
DeskTopRect := Rect(0,0,Screen.Width,Scre en.Height) ;
Image1.Canvas.CopyRect(Des kTopRect,D eskTopCanv as,DeskTop Rect);
ReleaseDC(GetDeskTopWindow ,DeskTopDC );
end;
is this what your after ?
screencapture ?
procedure TForm1.CaptureScreen;
var
DeskTopDC: HDc;
DeskTopCanvas: TCanvas;
DeskTopRect: TRect;
begin
DeskTopDC := GetWindowDC(GetForeGroundW
DeskTopCanvas := TCanvas.Create;
DeskTopCanvas.Handle := DeskTopDC;
DeskTopRect := Rect(0,0,Screen.Width,Scre
Image1.Canvas.CopyRect(Des
ReleaseDC(GetDeskTopWindow
end;
is this what your after ?
ASKER
Dear Mr. Inthe,
Yes, you're right, what I mean is capturing screen image of VCD Player. Unfortunately,The GetWindowDC(GetForeGroundW indow) and GetWindowDC(GetDeskTopWind ow) function can only get the background color of the VCD images, but not the images.
I suspect that the VCD images have the different format. ( perhaps I can send you the bmp file, if you don't mind )
Best Regards,
apin
* I use Video CD PowerPlayer version 3.22 ( http://www.cyberlink.com.tw )
Yes, you're right, what I mean is capturing screen image of VCD Player. Unfortunately,The GetWindowDC(GetForeGroundW
I suspect that the VCD images have the different format. ( perhaps I can send you the bmp file, if you don't mind )
Best Regards,
apin
* I use Video CD PowerPlayer version 3.22 ( http://www.cyberlink.com.tw )
Hi
i dont have vcd's just thought that was what the question was about and wondered if the getwindowdc etc would work. seems not..
i dont know if this article will help or not but maybe you can find someting here:
http://community.borland.com/article/0,1410,16037,00.html
i dont have vcd's just thought that was what the question was about and wondered if the getwindowdc etc would work. seems not..
i dont know if this article will help or not but maybe you can find someting here:
http://community.borland.com/article/0,1410,16037,00.html
ASKER
Dear Mr inthe,
Thanks for your help, but it still doesn't work.
Best Regards,
apin
Thanks for your help, but it still doesn't work.
Best Regards,
apin
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much !
ASKER
Pegasus or Pegusus ?
Pegasus
Like to Know, what is VCD
Indi