* commit

* formatting
This commit is contained in:
Anthony Stirling
2024-04-26 23:27:40 +01:00
committed by GitHub
parent 70349d642b
commit 30444fc9bb
5 changed files with 46 additions and 28 deletions

View File

@@ -342,8 +342,6 @@ public class PdfUtils {
boolean imageIsLandscape = image.getWidth() > image.getHeight();
PDRectangle pageSize = PDRectangle.A4;
System.out.println(fitOption);
if (autoRotate && imageIsLandscape) {
pageSize = new PDRectangle(pageSize.getHeight(), pageSize.getWidth());
}