# Store camera feed (jpg) as SQL blob

**URL:** <https://forum.inductiveautomation.com/t/store-camera-feed-jpg-as-sql-blob/23266>\
**Category:** Ignition\
**Created:** [March 12, 2019, 8:59pm UTC](https://forum.inductiveautomation.com/t/store-camera-feed-jpg-as-sql-blob/23266 "2019-03-12T20:59:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SBL\_MC](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sbl_mc/32/56813_2.png) [@SBL\_MC](https://forum.inductiveautomation.com/u/SBL_MC)\
**Post date:** [March 12, 2019, 8:59pm UTC](https://forum.inductiveautomation.com/t/store-camera-feed-jpg-as-sql-blob/23266/1 "2019-03-12T20:59:03Z")

</div>

Hi all,

We can store MJPEG to the sql server using the client. But is there a way to do it from the gateway so that we need no running clients? Triggered by tag event.

Both mjpeg and still is availible from the camera.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [March 12, 2019, 9:47pm UTC](https://forum.inductiveautomation.com/t/store-camera-feed-jpg-as-sql-blob/23266/2 "2019-03-12T21:47:54Z")

</div>

I don’t see any reason why not. You’re just writing an array of bytes to a database.

---

<div class="post-metadata">

**Author:** ![SBL\_MC](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sbl_mc/32/56813_2.png) [@SBL\_MC](https://forum.inductiveautomation.com/u/SBL_MC)\
**Post date:** [March 13, 2019, 6:32am UTC](https://forum.inductiveautomation.com/t/store-camera-feed-jpg-as-sql-blob/23266/3 "2019-03-13T06:32:43Z")

</div>

Its a live IP camera feed… We are able to see live feed with the IP camera feed, but system.net.httpget seems to be passing trough more than just the jpg. And then we are not able to filter out what we need.

The cam url does not end with an extension.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [March 13, 2019, 1:53pm UTC](https://forum.inductiveautomation.com/t/store-camera-feed-jpg-as-sql-blob/23266/4 "2019-03-13T13:53:51Z")

</div>

Sounds like this is your real question. You might get more help if you edit the title to reflect that (or just ask a new question).
