I am converting an array of photos (an array of itext Image objects) to a PDF using itext7.
My goal is to have the pages automatically change orientation according to