Processing: Capture is a PImage


Something the documentation on Processing’s Capture class doesn’t mention is that Capture is derived from PImage. I went digging into the Capture source code to figure that out:

public class Capture extends PImage implements PConstants { ...

This means all the methods and fields available to PImage objects should also be available to Capture objects. This makes video processing a lot easier!