Image sizing a problem...

Jim MacConnell jmac at consensustech.com
Thu Nov 18 12:33:13 EST 2004


Jim,

I ran into the same thing long ago.. And haven't gotten back to it as other
priorities have taken hold ($$) but.

Look at the imageData property. Use it when you want to capture a
"processed" image.

>From 2.2. docs:
= = = = = = = = = = = =
The imageData, unlike the contents of the image container, is based on the
picture as it's presented on the screen, not stored in the image object.
This means that if you resize an image, the content of the image does not
change, but its imageData does. If you create an image and then reduce its
size, its imageData reflects the scaled-down, displayed image, not the
original full-scale image. If you create a second image and set its
imageData property to the imageData of the original image, resizing the
first image back to the original dimensions displays the original image at
full resolution, but resizing the second image does not, because setting its
imageData transferred only the scaled-down version of the original.

  Tip:  To copy the information in an image at full resolution, regardless
of whether its height and width have been changed, use a statement like the
following:

  put image "Full Resolution" into image "Copied Image"
= = = = = = = = = 


So try 
Put the imageData of image "tempImage" into shouldLookLike
set the imageData of image whatposition to shouldLookLike


Hope this helps.
Jim
(another newbie)




More information about the use-livecode mailing list