Re: imageData and resizing

2013-06-14 Thread Mark Schonewille
Hi Tom, This won't work, unless the imageData fit the image rect exactly. To solve this, set the imageData first and then resize. Better yet: don't use imageData but use the original PNG or JPEG data to set the text of the image object. Set the lockLoc to false, then set the text, resize, and

Re: imageData and resizing

2013-06-14 Thread J. Landman Gay
On 6/14/13 8:19 AM, Thomas McGrath III wrote: 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

Re: imageData and resizing

2013-06-14 Thread Paul Hibbert
Thomas, In your script we can't see where "tempimage" comes from or what it contains, so to get this to work I had to change the last line to… set the imageData of image x to the imageData of image x Then it appears to work OK, for me at least. Paul On 2013-06-14, at 6:19 AM, Thomas McGrath I

imageData and resizing

2013-06-14 Thread Thomas McGrath III
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