||Posted - Jul 20 2022 : 23:35:29
As you was saying me, I modified the image below to ignore the aspect ratio and stretch it to fill the screen.
ImgPre.IO.LoadFromFileAuto(IMG_PATH + 'Img.jpg');
ImgPre.GetIdealZoom( ZoomX, ZoomY );
ImgPre.ZoomX := ZoomX;
ImgPre.ZoomY := ZoomY;
but, that source code get one problem.
Odd calls are fill the screen Image, But reload image not ignore the aspect retio and stretch (normal proportions) when even calls
How can I use this source only fill the screen Image(like Odd calls)?
Please answer Thank you.