procedure Crop(const rec: TRect);
uses Img32, Img32.Fmt.PNG; ... img := TImage32.Create; img.LoadFromFile('star.png'); img.Crop(Rect(20,25, 225, 230)); img.SaveToFile('star_cropped.png'); img.Free;
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025