Hi Scott,
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 > set > 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. Kind regards Bernd -- 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. _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
