The first step is to create an empty patch with the basic GEM window setup. Create a new Pure Data patch. Save it to your folder with name Image001.pd
. Put in the gemwin
object, with the create
and destroy
messages. Use a toggle
box to control the rendering. To work with the examples, you also need a few digital image files in formats such as JPEG, PNG, a few video clips in QuickTime (MOV) or MP4 formats. For live video, you also need a working webcam connected to your computer.
The following screenshot is the patch content:
In the patch, we need a gemhead
object. We also have a new object—pix_image
. And then, we connect another new object—pix_texture
, finally to a rectangle
object. There is a message box for the pix_image
object. It is a message to instruct the pix_image
object to open an external file with name Sample01.png
that resides in the same folder with the Pure Data patch. If the PNG file does exist and is a valid image document, the image...