# \[FOUND\] 144 dpi instead of 72 dpi as expected !

**URL:** <https://forum.xojo.com/t/found-144-dpi-instead-of-72-dpi-as-expected/49452>\
**Category:** General\
**Created:** [July 22, 2019, 10:18am UTC](https://forum.xojo.com/t/found-144-dpi-instead-of-72-dpi-as-expected/49452 "2019-07-22T10:18:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [July 22, 2019, 10:18am UTC](https://forum.xojo.com/t/found-144-dpi-instead-of-72-dpi-as-expected/49452/1 "2019-07-22T10:18:05Z")

</div>

In a current project, I have a simple error: I created a 144 dpi image where it have to be 72 dpi.

I wasted my time seeking where the error lies and at last I found it !

I use a template image that I feed with other data and save it to disk. The result is a 144 pdi image !

After pulling my hair, drinking whiskey and other stuff, I finally found where the error lies.

The template file resolution is 144 dpi !!!

So, if you have troubles with generated images, check the template file resolution !

I have 25 template files to change their resolution  (in the mean time, I set it in the code before saving the generated image).

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [April 29, 2021, 4:01pm UTC](https://forum.xojo.com/t/found-144-dpi-instead-of-72-dpi-as-expected/49452/2 "2021-04-29T16:01:12Z")

</div>


