Access digital camera

S

Stupid48

I have this Pentax Optio camera and I want to access it via vb.net. I
would like to write something where I can snap the picture from the
application and it automatically acquires the image from the camera and
displays it. I found a couple sample apps out there. One is a WIA app
but it does not see my camera. One is a TWAIN application and it also
does not see my camera. I do not see any drivers on Pentax's site that
talk about WIA or TWAIN. The camera just shows up as a removeable
disk. What method would I use to access this camera using .NET? I
though maybe it was DirectX but didn't find anything on it.

Thanks for any help.....

Chris
 
C

Carlos J. Quintero [VB MVP]

The mapped removable drive only allows you to get/save pictures from the
camera memory and TWAIN was intended for scanners, way before digital
cameras appeared, so I think that the only ways are:

- Using WIA, as shown in this example:

http://www.codeproject.com/dotnet/wiascriptingdotnet.asp

WIA is intended for scanners and cameras, but if yours doesn´t appear maybe
is not compatible or maybe you need to install some software/driver from the
camera CD-ROM. Notice that in one of the images of the sample you can see an
scanner and two cameras as devices.

- Using the native driver of the camera. Most cameras provide a software to
do exactly what you want, and they must be using some proprietary driver if
they are not using something standard.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
 
J

james

Stupid48 said:
I have this Pentax Optio camera and I want to access it via vb.net. I
would like to write something where I can snap the picture from the
application and it automatically acquires the image from the camera and
displays it. I found a couple sample apps out there. One is a WIA app
but it does not see my camera. One is a TWAIN application and it also
does not see my camera. I do not see any drivers on Pentax's site that
talk about WIA or TWAIN. The camera just shows up as a removeable
disk. What method would I use to access this camera using .NET? I
though maybe it was DirectX but didn't find anything on it.

Thanks for any help.....

Chris


Have you tried the manufacturer's website? They may provide a programmers's
SDK for their digital cameras.
Canon does. It would be much easier to get something going that way.
Without some soft of reference to the
specific camera's controls etc. you are going to be flying around in the
dark.
Try starting here: http://www.digital.pentax.co.jp/en/index.php
You may have to email them and ask if they provide an SDK for Developers
like Canon does.
james
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top