cHiddenImageData vs imageData
paulhibbert at mac.com
Sat Oct 19 21:40:28 EDT 2013
The cHiddenImageData is a Custom Property used to temporarily store the imageData. The "c" prefix gives it away once you get to understand the logic for naming variables & properties etc. See P.165 of the User Guide (if you can find it!).
Quote from the LC webpage "Vision: How do I Convert a Color Image to Grayscale?"
You also have to create the custom property cHiddenImageData for the Image Area. This is used in a subsequent lessons in which it is necessary to have a copy of the image that is being updated.
Hope this helps,
On 2013-10-19, at 5:35 PM, prothero at earthednet.org wrote:
> I'm drawing symbols on an image. The live code tutorial give examples that use
> the cHiddenImageData of image "image"
> The cHiddenImageData seems to place my changes all along the left side of the image. If I use "the image data", I get reasonable placements for my symbols.
> There is no entry in the documents (6.2.2) for cHiddenImageData. What is it? Why would it be used instead of the plain image data?
> William Prothero
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode