We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Trimming whitespace around an image


I am using the Aspose.Imaging Java library and have a requirement to trim whitespace around images. Is there a direct way to do this?


I have observed your requirements and like to share that there is no direct way to trim white spaces around the image. One need to traverse through every pixel and devise a technique for trimming whitespace around image.