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:
    855
  2. Andrew \(Infragistics\)

    Re: How to remove image from Picturebox

    Andrew \(Infragistics\), Aug 22, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    398
    Andrew \(Infragistics\)
    Aug 22, 2003
  3. 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:
    1,516
    Bob Powell [MVP]
    Oct 10, 2003
  4. Mahesh

    Capture screen and save image.

    Mahesh, Jan 14, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    8
    Views:
    328
    Herfried K. Wagner [MVP]
    Jan 15, 2004
  5. 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:
    349
    harshad
    Jan 29, 2008
Loading...

Share This Page