hi i am trying to compare two pdf files using java but not able to get the result file can any one help
-
Hi I am trying to compare two PDF files using pdfutil in Java. I was able to compare the document using boolean approch and get the value but when using visual approch I am not able to get the result file which is set in the (setImagedestinationpath) there is no errors
PDFUtil pdfUtil = new PDFUtil();
String file1="c:/files/doc1.pdf";
String file2="c:/files/doc2.pdf";// compares the pdf documents and returns a boolean
// true if both files have same content. false otherwise.
// Default is CompareMode.TEXT_MODE
pdfUtil.setCompareMode(CompareMode.VISUAL_MODE);pdfUtil.highlightPdfDifference(true);
pdfUtil.setImageDestinationPath("c:/imgpath");
pdfUtil.compare(file1, file2); -
i tried that as well but not working
-
i tried that as well but not working
-
Member 13938502 wrote:
but not working
I have no idea what that is supposed to mean. Please edit your question and provide proper details of your problem, including the exact text of any error messages.
Hi I am trying to compare two PDF files using pdfutil in Java. I was able to compare the document using boolean approch and get the value but when using visual approch I am not able to get the result file which is set in the (setImagedestinationpath) there is no errors
-
Hi I am trying to compare two PDF files using pdfutil in Java. I was able to compare the document using boolean approch and get the value but when using visual approch I am not able to get the result file which is set in the (setImagedestinationpath) there is no errors
-
Hey, I am new to the development world, I have also tried to compare two pdf files in my coding but not get the proper results. I am confused about the situation and came here for the solution. Please help me if there any solution. Thank you
jeffG2021 wrote:
I have also tried to compare two pdf files in my coding but not get the proper results.
Sorry, but no one can possibly help you without proper details of your problem. Saying things like, "it doesn't work", "I get errors", "I don't get the correct results", etc., is about as useful as telling us that it is dark where you live.
-
jeffG2021 wrote:
I have also tried to compare two pdf files in my coding but not get the proper results.
Sorry, but no one can possibly help you without proper details of your problem. Saying things like, "it doesn't work", "I get errors", "I don't get the correct results", etc., is about as useful as telling us that it is dark where you live.
He's a spammer: Spammer from moderation queue (jeffG2021)[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
He's a spammer: Spammer from moderation queue (jeffG2021)[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
i tried that as well but not working
Can you help us with the error message that you are confronting so that we can assist you further?