Last post Aug 25, 2009 09:30 AM by 3KyNoX
Aug 25, 2009 06:38 AM|3KyNoX|LINK
I will try to explain my problem as best as i can with some pictures to illustrate it.
1- I programmatically place an image on a medium (t-shirt for example) at a x and y position.
2- Still programmatically, I change the image size that remains in the same position, but, the image above and is not centered with respect to t-shirt.
3- I would like to refocus the image still programmatically by calculating differences inherent in this expansion / downsizing;
whether if i expand image size for example, how many pixels I have to move the image on the left and above by compare it to original size and destination size.
Or more simply i would like recalculate my x and y to center my image on my t-shirt...
If someone better than me with Maths could help, thanks.
Aug 25, 2009 08:58 AM|qwe123kids|LINK
Chk theabove link
Aug 25, 2009 09:30 AM|3KyNoX|LINK
I do not need a zoom to display a part of a picture in another panel ......
i need to center a picture on another picture after resizing ....