Display Priview PictureBox from web cam but how to capture image and save in DataBase ?

Discussion in 'Microsoft Dot NET Framework Forms' started by harshad, Jan 22, 2008.

  1. harshad

    harshad Guest

    Hello,

    I try this link http://weblogs.asp.net/nleghari/articles/webcam.aspx

    following code I try:

    this.picCapture.Image.Save("test",
    System.Drawing.Imaging.ImageFormat.Jpeg);

    My Problems is how to get image in jpg format and store in database.

    Thanks,

    Harshad Prajapati
     
    harshad, Jan 22, 2008
    #1
    1. Advertisements

  2. harshad

    David Wier Guest

    Why not just save it to your hard drive, in whatever path you want, and then
    store a reference to the path and filename in the Database?


    David Wier
    http://aspnet101.com
    http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
    bloated markup


    "harshad" <> wrote in message
    news:...
    > Hello,
    >
    > I try this link http://weblogs.asp.net/nleghari/articles/webcam.aspx
    >
    > following code I try:
    >
    > this.picCapture.Image.Save("test",
    > System.Drawing.Imaging.ImageFormat.Jpeg);
    >
    > My Problems is how to get image in jpg format and store in database.
    >
    > Thanks,
    >
    > Harshad Prajapati
    >
    >
    >
    >
     
    David Wier, Jan 22, 2008
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dev
    Replies:
    0
    Views:
    1,046
  2. Guy

    How to get name of image loaded in a picturebox

    Guy, Oct 10, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    1
    Views:
    2,206
    Bob Powell [MVP]
    Oct 10, 2003
  3. Bruce Schechter

    Resizing an Image to fit in a PictureBox

    Bruce Schechter, Nov 6, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    4
    Views:
    4,157
    Bruce Schechter
    Nov 18, 2003
  4. Mahesh

    Capture screen and save image.

    Mahesh, Jan 14, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    8
    Views:
    501
    Herfried K. Wagner [MVP]
    Jan 15, 2004
  5. TS

    picturebox's image

    TS, Sep 9, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    6
    Views:
    331
    Jeffrey Tan[MSFT]
    Sep 15, 2004
  6. Paul Loveless

    Smooth scrolling image or picturebox

    Paul Loveless, Oct 20, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    6
    Views:
    969
    Paul L
    Oct 21, 2004
  7. T-Man
    Replies:
    6
    Views:
    992
    Guest
    Apr 19, 2005
  8. harshad

    Display Priview PictureBox from web cam but how to capture image

    harshad, Jan 29, 2008, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    410
    harshad
    Jan 29, 2008
Loading...