[C#] HD photo capture ?

Necuno

Court Jester
Joined
Sep 27, 2005
Messages
58,566
Reaction score
3,437
Yes HD!

The few methods I've played with works as follows:

1) Get device
2) Point device to a canvas
3) Initiate
4) Copy from that canvas
5) Save to file

The problem with is that its not HD and about 96dpi since its a screen capture. Enter Media Foundation which so far seems to be C++ only. Then finally I got to a C++/C# example however it requires vs2013 and of course windows 8.

So in the end it doesn't seem to be possible using C#, well from what I could tell. Either you need some wrapped C++, SDK or the MF route with vs2013 and win8.

Unless I'm missing something here... Has anyone captured HD photos with C#?
 
Ah okay i'm only familar with DSLR's. But a quick browse people seem to be having similar issues and relate it to USB bandwidth.
 
Ah okay i'm only familar with DSLR's. But a quick browse people seem to be having similar issues and relate it to USB bandwidth.

As I said it is the method that is wrong. From what I can tell I should be accessing the device directly and not rely on the screen grab method. If that cam is not the way to go then what DSLR and library (api, ide etc) should I be using?

:edit
I guess any DSLR cam and access to it would do?
 
Last edited:
As I said it is the method that is wrong. From what I can tell I should be accessing the device directly and not rely on the screen grab method. If that cam is not the way to go then what DSLR and library (api, ide etc) should I be using?

:edit
I guess any DSLR cam and access to it would do?

I had to write pinvoke stuff for DSLR.
 
Top
Sign up to the MyBroadband newsletter
X