# 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:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bask185](https://avatars.discourse-cdn.com/v4/letter/b/3da27b/32.png) [@bask185](https://discourse.processing.org/u/bask185)\
**Post date:** [March 18, 2024, 7:45am UTC](https://discourse.processing.org/t/processing-executable-resolution-screwed-up/44115/1 "2024-03-18T07:45:41Z")

</div>

I have exported a windows 64 binary with java included.

I can launch the .exe by double clicking it in the explorer. And everything works fine and all. But it looks like total crap on a different computer (also W10 64 bt). And I mean that it seems to have a teribbly low resolution. I packed my entire binary folder in a .zip and unzipped on the other compouter.

However. If I launch the same application via command line (git bash) it looks perfectly fine.

On my own PC I cannot reproduce the result. Than it looks just fine nomather how I open it.  
And I have used the same .zip file.

I want to share the application to others. But I’d like that the application can just be launched by double clicking the .exe without showing funny resolution things.

Is this a known issue? And is there a solution for this?

Kind regards ☕

Bas

---

<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?

`:)`

---

<div class="post-metadata">

**Author:** ![bask185](https://avatars.discourse-cdn.com/v4/letter/b/3da27b/32.png) [@bask185](https://discourse.processing.org/u/bask185)\
**Post date:** [March 25, 2024, 7:35am UTC](https://discourse.processing.org/t/processing-executable-resolution-screwed-up/44115/3 "2024-03-25T07:35:07Z")

</div>

Thanks, I’ll have a look and do some more experimentations. I only have short windows in which I can do these tests
