imageData and resizing

Thomas McGrath III mcgrath3 at mac.com
Fri Jun 14 09:19:44 EDT 2013


I'm trying to find a solution to images getting messed up after doubling their size for retina and then trying to set the imageData after they have been resized. The images get messed up with either horizontal lines or color shifts.

This works for one image but not for a group of images. As soon as I try to set the imageData of a group of images about half way through the images start to screw up.

set the resizeQuality of image x of group "images" to "best"
set the lockLoc of image x of group "images" to true
set the width of image x of group "images" to (the width of image x of group "images" * 2)
set the height of image x of group "images" to (the height of image x of group "images" * 2)
set the imageData of image x to tempimage

Any ideas or workarounds???

Thanks


-- Tom McGrath III
http://lazyriver.on-rev.com
mcgrath3 at mac.com




More information about the use-livecode mailing list