cHiddenImageData vs imageData
Paul Hibbert
paulhibbert at mac.com
Sat Oct 19 21:40:28 EDT 2013
Hi Bill,
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,
Paul
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?
>
> Thanks,
> Bill
>
> William Prothero
> http://es.earthednet.org
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list