https://stackoverflow.com/questions/67795150/how-to-extract-inline-images-from-pdf-using-apache-tika-server-and-save-them-as