Sorry for the multiple messages, but I found the solution
to my problem :
after resizing an image, it seems necessary to update its
imagedata before cropping it :
put width of img 1 into w
put height of img 1 into h
put w/h into tratio
set width of img 1 to 150
set height of i
Thank you for your replies.
One more question : what happens to the imagedata
when an image is resized ?
For instance :
put width of img 1 into w
put height of img 1 into h
put w/h into tratio
set width of img 1 to 150
set height of img 1 to 150/tratio
And then when you crop the im
jbv wrote:
>"One more question : what happens to the imagedata
>when an image is resized ?
>For instance :
>
> put width of img 1 into w
> put height of img 1 into h
> put w/h into tratio
> set width of img 1 to 150
> set height of img 1 to 150/tratio
>
>And then when you crop the image..
jbv wrote:
http://lists.runrev.com/mailman/listinfo/use-livecode