Render PImage using P2D?

I mean the graphics library p2d can be used to create a PGraphics. Is that possible with pimages?