How do I put an image in memory into an image object?

tsj tsj at unimelb.edu.au
Sun May 2 21:57:35 EDT 2010


If the variable contains data from an image file (i.e. In JPEG, PNG or
similar format) then just use...

put <variableName> into image <imageName>

Terry...


On 3/05/10 11:52 AM, "Bill Vlahos" <bvlahos at mac.com> wrote:

> Nope. That doesn't work either.
> 
> Bill Vlahos
> _________________
> InfoWallet (http://www.infowallet.com) is about keeping your important life
> information with you, accessible, and secure.
> 
> On May 2, 2010, at 4:44 PM, stephen barncard wrote:
> 
>> try 'set the *text* of image "iPicture" to vPicture instead...
>> 
>> I know it sounds stupid but...
>> 
>> On 2 May 2010 16:42, Bill Vlahos <bvlahos at mac.com> wrote:
>> 
>>> That doesn't work. The command I'm using is
>>> 
>>> set the imageData of image "iPicture" to vPicture
>>> 
>>> Where iPicture is an image object and vPicture is the image in a variable.
>>> 
>>> Bill Vlahos
>>> _________________
>>> InfoWallet (http://www.infowallet.com) is about keeping your important
>>> life information with you, accessible, and secure.
>>> 
>>> On May 2, 2010, at 2:59 PM, zryip theSlug wrote:
>>> 
>>>> 2010/5/2 Bill Vlahos <bvlahos at mac.com>:
>>>>> I have an image on disk that is encrypted. I can decrypt the image in
>>> memory but how do I put that image variable into an image object? I would
>>> also like to automatically fit the image into the predefined object.
>>>>> 
>>>>> I can set the fileName but that means the file exists on disk not
>>> encrypted.
>>>>> 
>>>>> Bill Vlahos
>>>> 
>>>> Hi Bill,
>>>> 
>>>> Have you tried to set the imageData property of your image object?
>>>> 
>>>> set the imageData of image to binaryData
>>>> 
>>>> 
>>>> HTH
>>>> 
>>>> 
>>>> Regards,
>>>> --
>>>> -Zryip TheSlug- wish you the best! 8)
>>>> http://www.aslugontheroad.co.cc
>>>> _______________________________________________
>>>> use-revolution mailing list
>>>> use-revolution at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>> 
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>> 
>> 
>> 
>> 
>> -- 
>> -------------------------
>> Stephen Barncard
>> Back home in SF
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list