Syntax
NewImg = ImgTrim(Img)Description
Creates a new image containing only the non-transparent content of the source image, effectively cropping out any empty, completely transparent outer borders.
Parameters
Img
The handle of the source ProGUI image.
Return Value
Returns a new image handle of the trimmed content, or
#False if the source image is entirely transparent or
invalid.
Remarks
The original image is untouched. You must free the new image when finished.
See Also
ImgGetContentBounds, ImgGrab, FreeImg
Supported OS
Windows, Linux