Support for cropping PNG image using Aspose.Imaging for Java

Hi,

the documentation says, that I should cast to com.aspose.imaging.fileformats.png.PngImage. But that’s not possible, because of API visibility restrictions.

So what’s the appropriate way to crop a PNG image?

Best Regards,
Frank

Solved: I can cast to the parent of PnImage: RasterCachedImage. This class has the cop methods.

But what’s now with the documentation? I think it’s not correct.

@fbu,

I have observed your comments. Can you please confirm you have solved your issue on your own. For documentation we will investigate this on our end and will update your further.

@Adnan.Ahmad confirmed: I solved this issue on my end.

@fbu,

We are glad to know that you resolved issue on your own.