# Processing executable resolution screwed up

**URL:** <https://discourse.processing.org/t/processing-executable-resolution-screwed-up/44115>\
**Category:** Project Guidance\
**Created:** [March 18, 2024, 7:45am UTC](https://discourse.processing.org/t/processing-executable-resolution-screwed-up/44115 "2024-03-18T07:45:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [March 18, 2024, 10:11am UTC](https://discourse.processing.org/t/processing-executable-resolution-screwed-up/44115/2 "2024-03-18T10:11:01Z")

</div>

Hello @bask185 ,

It may be related to:

> **[pixelDensity() / Reference](https://processing.org/reference/pixeldensity_)**
>
> This function makes it possible to render using all the pixels on high resolutions screens like Apple Retina and Windows HiDPI. This function can only be run once within a program, and must be called …

See this topic:

> [@Basic PPI Question](https://discourse.processing.org/t/basic-ppi-question/43677):
>
> Hi there - I know that I can set the pixel dimensions in createCanvas - but I have no idea how to convert that information to inches or metric. It seems like there’s a basic equation that involves taking the square root of the diagonal in inches, but in order to do that, don’t I need to know the number of inches anyway? Can anyone share a simple way for gauging the actual measurement of what they do in P5.JS?

`:)`

---

_[View the full topic](https://discourse.processing.org/t/processing-executable-resolution-screwed-up/44115)._
