Re: New to Get a Copy of Scaled Down Version of an Image

2020-10-28 Thread J. Landman Gay via use-livecode
Try changing this line: put tImageData["image"] into image "currentpuzzle" to this: set the imageData of image "currentpuzzle" to tImageData["image"] -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 28, 2020 6:06:39 AM Sann

Re: New to Get a Copy of Scaled Down Version of an Image

2020-10-28 Thread Richmond via use-livecode
https://www.dropbox.com/s/gdrsa4git7l6war/imager.livecode.zip?dl=0 Richmond On 28.10.20 13:34, Richmond wrote: Remember that you have to lock an image to stop it popping back to its original size. Or, alternatively, you could change the order of your code. Also, you have misspelt 'height' in

Re: New to Get a Copy of Scaled Down Version of an Image

2020-10-28 Thread Richmond via use-livecode
Remember that you have to lock an image to stop it popping back to its original size. Or, alternatively, you could change the order of your code. Also, you have misspelt 'height' in "resizeToHeigth". Also, while you have defined "resizeToWidth", you don't appear to have defined "resizeToHeight

New to Get a Copy of Scaled Down Version of an Image

2020-10-28 Thread Sannyasin Brahmanathaswami via use-livecode
Take for example [command] resizeToWidth tImage, 400 on resizeToWidth pImage,pSize local tOrigImgWidth, tOrigImgHeight, tRatio, tNewWidth, tNewHeight set the itemdel to "x" put item 1 of sCurrentGraphicRect into tOrigImgWidth put item 2 of sCurrentGraphicRect into tOrigImgHeight i

New to Get a Copy of Scaled Down Version of an Image

2020-10-28 Thread Sannyasin Brahmanathaswami via use-livecode
Take for example [command] resizeToWidth tImage, 400 on resizeToWidth pImage,pSize local tOrigImgWidth, tOrigImgHeight, tRatio, tNewWidth, tNewHeight set the itemdel to "x" put item 1 of sCurrentGraphicRect into tOrigImgWidth put item 2 of sCurrentGraphicRect into tOrigImgHeight i