# Splitting webcam image onto 4 textures

**URL:** https://discourse.processing.org/t/splitting-webcam-image-onto-4-textures/41124
**Category:** Libraries
**Created:** [March 3, 2023, 8:47am UTC](https://discourse.processing.org/t/splitting-webcam-image-onto-4-textures/41124 "2023-03-03T08:47:13Z")
**Posts on this page:** 1
**Showing post:** 16

<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: [September 13, 2023, 10:58am UTC](https://discourse.processing.org/t/splitting-webcam-image-onto-4-textures/41124/16 "2023-09-13T10:58:26Z")

</div>

Hello @animalfrommars,

This will give you some insight into what is happening under the hood:  
[https://github.com/processing/processing4/blob/main/core/src/processing/core/PImage.java#L853](https://github.com/processing/processing4/blob/main/core/src/processing/core/PImage.java#L853) \< Give it a minute to load and go to the correct line!

`:)`

---

_[View the full topic](https://discourse.processing.org/t/splitting-webcam-image-onto-4-textures/41124)._
