Book Image

LiveCode Mobile Development Beginner's Guide (2nd Edition)

Book Image

LiveCode Mobile Development Beginner's Guide (2nd Edition)

Overview of this book

Table of Contents (15 chapters)
LiveCode Mobile Development Beginner's Guide Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Misusing imageData


The topics in the LiveCode online tutorials include manipulation of imageData, turning a colored image into a grayscale one (this particular example of turning a colored image is located at http://lessons.runrev.com/s/lessons/m/4071/l/25371-vision-how-do-i-convert-a-color-image-to-grayscale). We're not going to do that here. Instead, we'll use the values in the image, mask, and alpha to achieve some neat things that don't change the image at all. In fact, in some cases, we won't even see the image!