# Dynamic Image using Perspective Image

**URL:** <https://forum.inductiveautomation.com/t/dynamic-image-using-perspective-image/44288>\
**Category:** Maker\
**Created:** [March 10, 2021, 4:39am UTC](https://forum.inductiveautomation.com/t/dynamic-image-using-perspective-image/44288 "2021-03-10T04:39:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![e0310912](https://avatars.discourse-cdn.com/v4/letter/e/6de8d8/32.png) [@e0310912](https://forum.inductiveautomation.com/u/e0310912)\
**Post date:** [March 10, 2021, 4:39am UTC](https://forum.inductiveautomation.com/t/dynamic-image-using-perspective-image/44288/1 "2021-03-10T04:39:11Z")

</div>

Hi all, I was wondering if it’s possible for Ignition to actually process values from a database and then rendering it into a [colour thermal image](https://www.mathworks.com/help/matlab/ref/imagesc.html) like this from MATLAB.

I unfortunately have to read data from a MySQL Database to like a 8x16 table of values and process the values to form a colour map that changes dynamic, where Ignition will read values from the database at a certain interval to update the image.

I know that Python can do it, but is it possible with Scripting it with Jython ?

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [March 10, 2021, 8:12am UTC](https://forum.inductiveautomation.com/t/dynamic-image-using-perspective-image/44288/2 "2021-03-10T08:12:35Z")

</div>

Hi @e0310912, apologies if I have misinterpreted what you are asking, but if it’s just for display could you use an XY chart?

There is an example of a heat map in the IA manual here: [Example 1](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+XY+Chart)

If you have not used the charts before, there’s a bit of a learning curve that isn’t well documented in the manuals. I’ve found it’s better to reference both the IA manual and [amcharts](https://www.amcharts.com/docs/v4/) documentation.

---

<div class="post-metadata">

**Author:** ![e0310912](https://avatars.discourse-cdn.com/v4/letter/e/6de8d8/32.png) [@e0310912](https://forum.inductiveautomation.com/u/e0310912)\
**Post date:** [March 10, 2021, 1:04pm UTC](https://forum.inductiveautomation.com/t/dynamic-image-using-perspective-image/44288/3 "2021-03-10T13:04:31Z")

</div>

Ah, yes the example 1 you show me seems like a good place to start as a Heat Map

Though I might need to do this for like 32x32 values, but I think it should be something I can start with.

Thank You.

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [March 10, 2021, 1:17pm UTC](https://forum.inductiveautomation.com/t/dynamic-image-using-perspective-image/44288/4 "2021-03-10T13:17:57Z")

</div>

No worries, like I say the XY chart can sometimes a bit frustrating to configure correctly until you get used to them.

If you get any issues, feedback here and I will see if I can point you in the right direction. If not I’m sure there will be someone on here with much more experience then me that can assist 🙂
