ginnix 2 Posted January 31, 2022 Hi All, I am developing a small app for ios. I have an image that I zoom in with this code. LImageCenter := ImgCameraView.Position.Point + PointF(ImgCameraView.Width / 2, ImgCameraView.Height / 2); ImgCameraView.Width := CamWidth*Zoom; ImgCameraView.Height := CamHeight*Zoom; ImgCameraView.Position.X := lImageCenter.X - ImgCameraView.Width / 2; ImgCameraView.Position.Y := LImageCenter.Y - ImgCameraView.Height / 2; The problem I am having is, when I save the image the zooming is ignored and the original image is saved. How do I save the image with the zooming effect? Thanks Share this post Link to post
sjordi 39 Posted February 1, 2022 (edited) Shouldn't you first crop the picture to the exact display position and then save it? Then you will lose everything outside of the view if that's what you intend to do? Isn't there a function like ClipRect or so. Edited February 1, 2022 by sjordi Share this post Link to post
ginnix 2 Posted February 1, 2022 I tried cropping but always get the same result, the zoom is not saved. Share this post Link to post