You will want to use
Image.FromFile(filename)
to get past the error you're seeing (Image is abstract and you can't initialize it like that).
The alternative would be to create an instance of a class that implements Image, such as Bitmap. If
m_Bitmap
is of type image you can do
m_Bitmap = new Bitmap(filename)
.
The book you mention is a gooder and will help you understand what's going on in that library you mentioned.
This article[
^] will also help a bit and there are some good links at the bottom.
My strong suspicion is that you're going to be either working with a filter in the graph or finding a .Net library someone's crafted for DirectShow that has a "frame ready" event of some sort...this would allow you to draw on the frame prior to displaying it.
Hope this helps.
Cheers.