C# - present image files

  • Thread starter Thread starter Dafna m
  • Start date Start date
D

Dafna m

Hi,
1. How can I present diffrent image type (jpg, bmp, bpm..)
2. How can I present video file as a picture

Can I fo it by a built in function (in C#)?
 
Displaying an image is pretty easy:

Graphics g = ...;

Image i = Image.FromFile ("c:\\SomeImage.jpg");

g.DrawImage (i,0,0);

This works with most types of image file, and there's lots of
variations. To use a hackneted phrase, look it up in Petzold
(Programming Microsoft Windows with C# - Microsoft Press).

I don't know about video, though.

Regards,

Jasper Kent
 
Please see the other thread where I posted. Ugh. Why post the same thing
twice!
 
Back
Top