(My) Memory Corrupted -- Scaling An Image?
niggemann at uni-wh.de
Wed Apr 13 03:19:10 EDT 2011
Scott Rossi wrote:
> Hey all:
> scale an image so the data in the resulting
> image reflects the scaled down data, not the original image data?
> The one technique I was able to piece together: scale the image and then
> the image/alphaData of the image to the current image/alphaData of the
> image. Is this correct? Took me a while to figure this out because this
> technique apparently *doesn't* work using the text property of the image.
That is how I do it except that for me it seems to be sufficient to just
set the imagedata of the scaled image to the imageData of the scaled image.
That effectively changeds the size of the image and purges the remnants of
the old image size, and keeps the resized/new alphaData.
View this message in context: http://runtime-revolution.278305.n4.nabble.com/My-Memory-Corrupted-Scaling-An-Image-tp3446358p3446457.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the Use-livecode