# Scaling to file

**URL:** <https://discourse.processing.org/t/scaling-to-file/30607>\
**Category:** Coding Questions\
**Created:** [June 9, 2021, 4:05pm UTC](https://discourse.processing.org/t/scaling-to-file/30607 "2021-06-09T16:05:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yalaniv](https://avatars.discourse-cdn.com/v4/letter/y/7993a0/32.png) [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Post date:** [June 9, 2021, 4:05pm UTC](https://discourse.processing.org/t/scaling-to-file/30607/1 "2021-06-09T16:05:20Z")

</div>

Is it possible to create graphics on screen size 1000\750,

But saving it to file as a 10000/7500?

Export as a 1000/750 and scale it won’t work because it will make lines become rectangles and I want it to be thick as a line

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [June 9, 2021, 5:30pm UTC](https://discourse.processing.org/t/scaling-to-file/30607/2 "2021-06-09T17:30:24Z")

</div>

Hi @yalaniv,

I don’t think it’s possible to “upscale” your window without scaling it or refactoring your code.

You might want to use the PDF or SVG export so you can have the resolution you want since it’s vector based :

- [PDF \ Libraries \ Processing.org](https://processing.org/reference/libraries/pdf/index.html)
- [SVG \ Libraries \ Processing.org](https://processing.org/reference/libraries/svg/index.html)
