LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I save a webcam image to a JPEG file?

Hi everyone,

 

I have attached a program (Forum) that takes a photo with a logitech webcam. This works fine, but I would like to save the image to a .jpeg file.... Would anyone know how to do this?

 

Thanks a lot,

 

Best regrads,

 

marc

 

XP, Labview 8.5

Download All
0 Kudos
Message 1 of 8
(5,347 Views)
Have a look in the Function palette > Graphics > Graphics Format > Write JPEG File.vi
Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...
        
0 Kudos
Message 2 of 8
(5,327 Views)

 Hi Charlie,

 

Thanks a lot for answering my question. I have already looked into the graphic part of the palet, and tried using the write JPEG file.vi. But neither of the "webcam snap shot.vi" nor the "webcam flat to picture.vi" outputs will connect to the write JPEG file.vi. Would you know how to do this or have another solution?

 

Best Regards,

 

Marc

0 Kudos
Message 3 of 8
(5,301 Views)
Since you are able to get the image using the "Forum.vi", you just need to wire  the image to Picture To Pixmap.vi (Graphics > Picture Functions...), and then the Image Data output to the Write JPEG file.vi. 
Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...
        
Message 4 of 8
(5,293 Views)

 Hi Charlie,

 

I finally found the same solution as you. Thanks a lot for your answer and your time.

 

Regards,

 

Marc

 

PS : For people intrested, I have attached the final VI

0 Kudos
Message 5 of 8
(5,276 Views)

Hi Marc France,

 

May I have your VI in LV 8.2 format?

 

Thank you..

0 Kudos
Message 6 of 8
(4,936 Views)

Hi yoppy,

attached you'll find it for LV8.2.

 

Mike

0 Kudos
Message 7 of 8
(4,913 Views)

Thank's MikeS81. I'm happy receiving the LV8.2 version.

 

When I run the VI, error occured. It seems that I don't have

 

1. 'Webcam Snapshot.vi'

2. 'Webcam flat to picture'

 

May I have that VI ( of course in 8.2 version )?

 

Thank you bro...

0 Kudos
Message 8 of 8
(4,890 Views)