Image Scaling Problem
Klaus major-k
klaus at major-k.de
Tue Jan 19 14:11:00 EST 2016
Hi Richmond,
> Am 19.01.2016 um 19:33 schrieb Richmond <richmondmathewson at gmail.com>:
> 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:
oh boy…
> ## set the locked of img "XXX" to true
LOCKLOC!
…
set the lockloc 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.
Yes, no surprise, see above… 8-)
> Please, in simple words, explain what the "entirely different scenario" is.
>
> Richmond.
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de
More information about the use-livecode
mailing list