Capture Image from Camera
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Thread: Capture Image from Camera

  1. #1
    Join Date
    Feb 2009
    Posts
    112

    Capture Image from Camera

    Hi, I would like to develop an application that will take pictures with a camera. From googling around I've seen some things about WIA, but I was wondering if anyone knew of any good tutorials to get me started.

    I'm trying to keep it simple for now. Pretty much what I would like to do is have a button on a form and when the user clicks the button the camera takes the picture and saves it to the hard drive on the computer.
    - It's a long way to the top if you want to rock n' roll - AC/DC

    Check out my band and support the music:
    www.blueruinmusic.com

  2. #2
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,835

    Re: Capture Image from Camera

    You may want to look into twain samples
    Always use [code][/code] tags when posting code.

  3. #3
    Join Date
    Feb 2009
    Posts
    112

    Re: Capture Image from Camera

    Thank you for the reply. I looked into it a little bit and it seems like TWAIN is geared more towards scanners, but I will do more research on it. Please keep in mind it does not have to be a WIA solution, if there is a better method for completing this task, fire away, I'm open to all suggestions. As long as it's not a 3rd party thing where I have to pay. I'm on a very small budget...

    Thanks
    - It's a long way to the top if you want to rock n' roll - AC/DC

    Check out my band and support the music:
    www.blueruinmusic.com

  4. #4
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,835

    Re: Capture Image from Camera

    I did a project a while back where I had to capture images from a camera I used a twain interface to do this. One of the options I noticed and tested along the way was to snap a picture. It worked fine and was not that hard to do.

    Check out this link http://www.codeproject.com/KB/dotnet/twaindotnet.aspx
    Always use [code][/code] tags when posting code.

  5. #5
    Join Date
    Feb 2009
    Posts
    112

    Re: Capture Image from Camera

    Very cool, I'll test it out and let you know how it works out.

    By any chance do you know if this stuff works with newer digital cameras? I need something with a little higher resolution like 8 Megapixels or more.
    - It's a long way to the top if you want to rock n' roll - AC/DC

    Check out my band and support the music:
    www.blueruinmusic.com

  6. #6
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,835

    Re: Capture Image from Camera

    It should work with most of them. I was using it with a 10mp cannon
    Always use [code][/code] tags when posting code.

  7. #7
    Join Date
    Feb 2009
    Posts
    112

    Re: Capture Image from Camera

    Excellent.
    - It's a long way to the top if you want to rock n' roll - AC/DC

    Check out my band and support the music:
    www.blueruinmusic.com

  8. #8
    Join Date
    Jun 2013
    Posts
    4

    Re: Capture Image from Camera

    i think twain techonology is working well when you are capturing image c#. it is simple, i happen to have some tutorials and codes on this one.

  9. #9
    Join Date
    Mar 2014
    Posts
    3

    Re: Capture Image from Camera

    Quote Originally Posted by dwimage View Post
    i think twain techonology is working well when you are capturing image c#. it is simple, i happen to have some tutorials and codes on this one.
    thanks for giving such good tutorial, may i ask whether it support capturing image from camera.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center