I am trying to get the quality of an image using Java and I am having a hard time to find any API that would do that.
I stumbled upon the ImageMagick command identify
which works great but I would like to know if there is a Java API that would do something similar.
Here is ImageMagick command that I found
How can I get the quality of an image using Java?
The ImageMagick website has a page that lists APIs for numerous programming languages, including Java. These can be used to get the quality from within a Java program.
The two listed Java libraries are JMagick and Im4java:
JMagick provides an object-oriented Java interface to ImageMagick. Im4java is a pure-java interface to the ImageMagick command-line.
Note that the JMagick link appears to be broken. A web search suggests that the htechblue/jmagick fork on GitHub is a more recently maintained replacement.
Either of these libraries should work for accessing the quality from within a Java program.