Save IP Camera Picture / Image

How do I get the bytes of the IP Camera image, so I can store them in the database.

I need to get the picture from the moment a user clicks the button, and store it. So later the a Report should be sent with all the pics taken with date/time stamps.

Probably the easiest way would be to use system.print.createImage().