Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package th.in.oneauthen;
- import java.io.File;
- import java.nio.file.Files;
- public class testPdf {
- public static void main(String[] args) throws Exception {
- byte[] pdfData = Files.readAllBytes(new File("C:\\Users\\BallZaR5R5\\Desktop\\resume.pdf").toPath());
- byte[] pictureData = Files.readAllBytes(new File("C:\\Users\\BallZaR5R5\\Desktop\\signature-1.png").toPath());
- float llx = (float) 0.83;
- float lly = (float) 0.0;
- float urx = (float) 0.16;
- float ury = (float) 0.05;
- new PDFmanipulate().signPDF(1, pdfData, pictureData, llx, lly, urx, ury);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement