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.

Share This Page