Image Scaling Problem

Richmond richmondmathewson at gmail.com
Tue Jan 19 19:33:04 CET 2016


On 19/01/16 20:24, Mark Wieder wrote:
> On 01/19/2016 10:07 AM, Richmond wrote:
>> On 19/01/16 17:27, Matt Maier wrote:
>>> I was just researching around this idea.
>>> http://lessons.livecode.com/m/4071/l/7084-how-to-create-a-thumbnail-image 
>>>
>>> This says that if you want to lock the change in by script you have to
>>> set
>>> its imageData to its imageData
>>> set the imagedata of image tImageName to the imagedata of image
>>> tImageName
>>
>> Nobody ever told me that, and I've been resizing images, locking them
>> and having
>> no further problems since 2001.
>
> That's for an entirely different scenario.
>

Possibly:

Are you stating that if I pop this in my messageBox:

set the locked of img "XXX" to true

it, somehow, does something 'less' than locking the image via
the properties panel?

Because, when I did that just now, saved the stack, quit LiveCode, 
restarted LiveCode,
and opened my stack again, the image 'XXX' was still at its resized size.

Please, in simple words, explain what the "entirely different scenario" is.

Richmond.



More information about the use-livecode mailing list