# Save IP Camera Picture / Image

**URL:** <https://forum.inductiveautomation.com/t/save-ip-camera-picture-image/17617>\
**Category:** Ignition\
**Tags:** database, scripting\
**Created:** [April 5, 2018, 11:32pm UTC](https://forum.inductiveautomation.com/t/save-ip-camera-picture-image/17617 "2018-04-05T23:32:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbalderas](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@mbalderas](https://forum.inductiveautomation.com/u/mbalderas)\
**Post date:** [April 5, 2018, 11:32pm UTC](https://forum.inductiveautomation.com/t/save-ip-camera-picture-image/17617/1 "2018-04-05T23:32:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 6, 2018, 2:06pm UTC](https://forum.inductiveautomation.com/t/save-ip-camera-picture-image/17617/2 "2018-04-06T14:06:44Z")

</div>

Probably the easiest way would be to use [system.print.createImage()](https://docs.inductiveautomation.com/display/DOC79/system.print.createImage).
