# How do I resize a loaded image file like you can with video capture?

**URL:** <https://discourse.processing.org/t/how-do-i-resize-a-loaded-image-file-like-you-can-with-video-capture/26047>\
**Category:** Coding Questions\
**Created:** [December 8, 2020, 1:24pm UTC](https://discourse.processing.org/t/how-do-i-resize-a-loaded-image-file-like-you-can-with-video-capture/26047 "2020-12-08T13:24:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![olaf000olaf](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/olaf000olaf/32/11295_2.png) [@olaf000olaf](https://discourse.processing.org/u/olaf000olaf)\
**Post date:** [December 8, 2020, 1:24pm UTC](https://discourse.processing.org/t/how-do-i-resize-a-loaded-image-file-like-you-can-with-video-capture/26047/1 "2020-12-08T13:24:55Z")

</div>

How do I change the size of an image like a video capture. I want to do the same as in this video by the coding train but instead, load an image, not a video capture.

[![](https://img.youtube.com/vi/rNqaw8LT2ZU/hqdefault.jpg "11.4: Brightness Mirror - p5.js Tutorial") ](https://www.youtube.com/watch?v=rNqaw8LT2ZU)

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [December 8, 2020, 1:30pm UTC](https://discourse.processing.org/t/how-do-i-resize-a-loaded-image-file-like-you-can-with-video-capture/26047/2 "2020-12-08T13:30:31Z")

</div>

[p5js.org/reference/#/p5.Image/resize](http://p5js.org/reference/#/p5.Image/resize)
