# Setting transparency with pixels\[\]

**URL:** <https://discourse.processing.org/t/setting-transparency-with-pixels/501>\
**Category:** Coding Questions\
**Created:** [May 29, 2018, 5:48pm UTC](https://discourse.processing.org/t/setting-transparency-with-pixels/501 "2018-05-29T17:48:54Z")\
**Posts on this page:** 1\
**Showing post:** 17

<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:** [May 30, 2018, 11:56am UTC](https://discourse.processing.org/t/setting-transparency-with-pixels/501/17 "2018-05-30T11:56:18Z")

</div>

> [@Skranker](#):
>
> Is it possible to have **get()** return an ARGB image?

Class PImage got a `public` field called _format_, in which we can assign constant ARGB to it: 🤖

> <https://github.com/processing/processing/blob/master/core/src/processing/core/PImage.java#L69>

---

_[View the full topic](https://discourse.processing.org/t/setting-transparency-with-pixels/501)._
