Aspose.Imaging Java API allows to easy save your images aware on extension in your Java application or Web service.
You can:
- be sure that image extension corresponds image type.
Interested ?
You may go further at : https://products.aspose.com/imaging/java/