return & render base64 instead of saving imgs

This commit is contained in:
2022-10-12 12:27:52 -07:00
parent b1d0252465
commit aaba03c50b
3 changed files with 47 additions and 45 deletions

View File

@@ -9,13 +9,13 @@
<tr>
{# Original image #}
<td class="img-table-cell" id="orig-cell">
{# <img src="data:image/png;base64,{{ img_orig_b64 }}" alt="original image"> #}
<img class="img-out" src="{{ img_orig_path }}" alt="original image">
<img class="img-out" src="data:image/png;base64,{{ img_orig_b64 }}" alt="original image">
{# <img class="img-out" src="{{ img_orig_path }}" alt="original image"> #}
</td>
{# Result image #}
<td class="img-table-cell" id="res-cell">
{# <img src="data:image/png;base64,{{ img_res_b64 }}" alt="result image"> #}
<img class="img-out" src="{{ img_res_path }}" alt="resulting heatmap">
<img class="img-out" src="data:image/png;base64,{{ img_res_b64 }}" alt="result image">
{# <img class="img-out" src="{{ img_res_path }}" alt="resulting heatmap"> #}
</td>
</tr>
{# Legend #}