6

Image Processing with a Collage

Up to this point, you’ve used Processing as a canvas or digital collage of sorts, but you can also use it to manipulate images. Adding preexisting images to Processing lets you create multimedia projects that can include scans of hand-drawn illustrations, customized buttons, or even complete backgrounds.

Using photographs in Processing adds a few steps, but it is well worth the extra legwork. After you’ve added a photograph to your sketch, I’ll show you how to modify it with filters and change the tint.

FINDING AN IMAGE TO USE

If you’re like me, you probably have hundreds (if not thousands) of images on your computer, tablet, or smartphone. To add images to a Processing sketch, you need to do some preparation. ...

Get The SparkFun Guide to Processing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.