# SaveFrame creating double sized images

**URL:** <https://discourse.processing.org/t/saveframe-creating-double-sized-images/46680>\
**Category:** Libraries\
**Created:** [July 8, 2025, 7:05am UTC](https://discourse.processing.org/t/saveframe-creating-double-sized-images/46680 "2025-07-08T07:05:39Z")\
**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:** [July 8, 2025, 4:03pm UTC](https://discourse.processing.org/t/saveframe-creating-double-sized-images/46680/2 "2025-07-08T16:03:20Z")

</div>

Hello @timesuptim ,

Try setting this and report back:

`pixelDensity(1);`

> **[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 …

One of many topics that this has solved:

> [@Background image doesn't load](https://discourse.processing.org/t/background-image-doesnt-load/46654/3):
>
> Hello glv Setting the pixelDensity to 1 solved the problem. println (width, height); gives me 1000 1000 Thanks for helping me out!

`:)`

---

_[View the full topic](https://discourse.processing.org/t/saveframe-creating-double-sized-images/46680)._
