# Using TwelveMonkeys PSD plugin with Processing.org

**URL:** https://discourse.processing.org/t/using-twelvemonkeys-psd-plugin-with-processing-org/2983
**Category:** Coding Questions
**Created:** [August 26, 2018, 3:22am UTC](https://discourse.processing.org/t/using-twelvemonkeys-psd-plugin-with-processing-org/2983 "2018-08-26T03:22:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sulin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sulin/32/1159_2.png) [@sulin](https://discourse.processing.org/u/sulin)
#### Post date: [August 26, 2018, 3:22am UTC](https://discourse.processing.org/t/using-twelvemonkeys-psd-plugin-with-processing-org/2983/1 "2018-08-26T03:22:17Z")

</div>

Hi,

I have just begun trying to use twelvemonkeys java ImageIO plugins with processing. ( link to git repo - [https://github.com/haraldk/TwelveMonkeys](https://github.com/haraldk/TwelveMonkeys)) with processing-core in java. While I am able to get a psd in I wanted to know if anyone here knows how to access the imageIO options with a PImage? ( to access the layers separately) Is it even possible or will I have to read in the image using imageIO then convert it to a PImage in order to work with it. ( something I would prefer not to have to do )

Any help or pointers to more detailed PImage information would be great as the javadoc does not seem to provide any help.

Thanks

---

<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: [September 10, 2018, 11:46pm UTC](https://discourse.processing.org/t/using-twelvemonkeys-psd-plugin-with-processing-org/2983/2 "2018-09-10T23:46:20Z")

</div>

HI @sulin – were you able to solve your problem?

If there is information that you are not finding in the JavaDoc, the source for PImage is here:

- [https://github.com/processing/processing/blob/master/core/src/processing/core/PImage.java](https://github.com/processing/processing/blob/master/core/src/processing/core/PImage.java)

I don’t know enough about java.imageio to know what you are trying to do, but I’m guessing that a starting point might (?) be to look at the BufferedImage check in the constructor, here:

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