Trimming whitespace around an image

Hi,

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?

@arnab.g,

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.