I only need a Java method. The method will take an unique BufferedImage parameter. This parameter is a musical score photo in an arbitary angle. The function will return a BufferedImage. The same image rotated in an zero angle degrees.
It's very simple. I attached images explaining what the method expects and what the method must be return.