# Output window pixels very small

**URL:** <https://discourse.processing.org/t/output-window-pixels-very-small/21790>\
**Category:** Beginners\
**Created:** [June 11, 2020, 8:06pm UTC](https://discourse.processing.org/t/output-window-pixels-very-small/21790 "2020-06-11T20:06:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![R1S8K](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@R1S8K](https://discourse.processing.org/u/R1S8K)\
**Post date:** [June 11, 2020, 8:06pm UTC](https://discourse.processing.org/t/output-window-pixels-very-small/21790/1 "2020-06-11T20:06:34Z")

</div>

Hi,

I want to use processing to simulate LCD output with C code.

I did a test loading a .bmp file and it worked but the output window is too small.

How to increase the size of the overall output window ?

I think the program output window draws on the actual monitor resolution which would be too small for my 128x64 pixels bitmaps.

---

<div class="post-metadata">

**Author:** ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)\
**Post date:** [June 11, 2020, 8:48pm UTC](https://discourse.processing.org/t/output-window-pixels-very-small/21790/2 "2020-06-11T20:48:22Z")

</div>

Sounds like you might not have a call to size() in your code.

You should call size() with the width and height you want your window to be, for example:

`size(600,400);`

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [June 12, 2020, 3:48am UTC](https://discourse.processing.org/t/output-window-pixels-very-small/21790/3 "2020-06-12T03:48:51Z")

</div>

You can also use `scale()` if you are trying to create a very small bitmap image but display it on a larger sketch screen.

- [https://processing.org/reference/scale\_.html](https://processing.org/reference/scale_.html)

Or upscale with noSmooth. Or use a shader.

- [https://forum.processing.org/two/discussion/2248/scaling-without-smooth](https://forum.processing.org/two/discussion/2248/scaling-without-smooth)

---

<div class="post-metadata">

**Author:** ![R1S8K](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@R1S8K](https://discourse.processing.org/u/R1S8K)\
**Post date:** [June 12, 2020, 4:30pm UTC](https://discourse.processing.org/t/output-window-pixels-very-small/21790/4 "2020-06-12T16:30:10Z")

</div>

Yep ! I think that is what I’m talking about.

I tried it and it worked thank you so much 🙂
