-
Notifications
You must be signed in to change notification settings - Fork 575
Open
Labels
Description
pom:
<dependency>
<groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-pdf</artifactId>
<version>9.4.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>1.3.43</version>
</dependency>
html template:
<img th:src="${image}" style="height: 500px;width: 800px;object-fit: scale-down; transform: rotate(90deg);"
alt="projectImage"/>
but generate PDF image is not rotating。
could teach me how to do?