Create command line exe program to remove digital signatures from PDF using Java iText Library


We have a program that runs OCR on PDF files to look for key words. This program does not work however when the PDF has been digitally signed. What I want to do is completely remove that digital signature (invalidate and delete it) so my OCR program can parse it as normal.

I am currently using this freeware program here called unsign PDF to flatten the signatures ( [login to view URL] use google translate) which works perfectly, but can only flatten one signature at a time and does not accept command line arguments.

The author of "unsign PDF" said the program is based on Java iTEXT library "flattensignatures" as per here [login to view URL]

What I need you to create is a simple windows command line executable program "[login to view URL]" that does the following:

1. Uses the flatten signature library to do exactly the same output as the program unsignpdf from here [login to view URL]

I have attached an example of a signed PDF "[login to view URL]" you can use to test the program, the file "[login to view URL]" is what it should look like after the signature is removed.

2. Accepts the arguments in the format "[login to view URL] [login to view URL] [login to view URL]

no GUI necessary, this is just a command line program to use in a script

3. If there was no signature to remove, the program should just copy the file input to output.. i.e. [login to view URL] should be identical to [login to view URL] on failure, it should NOT create a blank output PDF if there is no signature to remove, or not output at all, because this is part of a script it always needs to generate an output. Same applies if the program is run again on the output file [login to view URL]

4. Same as above, if there is any error at all, for any reason, the program should default to just creating a copy of the [login to view URL] as [login to view URL] rather than pause, crash or not output anything!

5. The program should be completely standalone not require any installation or java dependencies - just like [login to view URL]

There is a JAR version of unsignpdf here ([login to view URL]) if it's easier to decompile that and modify it to support command line arguments instead of the JAVA GUI, then that would be fine as well... unsignpdf already does everything I want except for supporting command line arguments and efforts to contact the developer have failed.

Many Thanks for looking!

PS: I am happy for you to use any programming language you like for this, as long as I end up with a standalone exe program. I.e. you can use the C# Library for iText if that works, you can even just decompile and modify the existing unsign PDF program if you like as well.. whatever is easy!

Evner: Java, C++ Programmering, Software Arkitektur, C programmering, C# Programmering

Se mere: linux create command line application, linux command line html tag remove, passing command line text program, create command line program vb6, command line red eye remove, convert command line exe gui, java create command line menu, create command line delphi, write vb6 gui command line exe, command line gui program, creating gui command line exe, reverse engineer command line exe, convert command line exe dll

Om arbejdsgiveren:
( 19 bedømmelser ) Milton, Australia

Projekt ID: #31596445

Tildelt til:


Hi, I have read your description over. As a refined C# developer, I can implement this application in C#. I have also good experience in iTextPDF C# library. I think I can get this done in a timely manner. Happy to di Flere

$140 AUD in 3 dage
(2 bedømmelser)

15 freelancere byder i gennemsnit $172 timen for dette job

(300 bedømmelser)

hi. I have 8+ years of experience in C# development. I have done PDF processing in my projects, using iText libraries. here are couple of of my recent project: ---( https://www.freelancer.com/projects/c-sharp-programmi Flere

$250 AUD in 5 dage
(153 bedømmelser)

Good day, I've complete Phd Software Engineering. I've 5-Year experience in Java development and algorithm implementation. My Core Expertise in Java - C++ - C - object-oriented - Data Structure - Swing - OpenGL - JavaF Flere

$250 AUD in 3 dage
(181 bedømmelser)
(101 bedømmelser)
(45 bedømmelser)

Hello, let me offer my skills for your project. I'm well versed in Java programming and have experience with iText library. iText has been ported to C# (iTextSharp) which may be more suitable for this project in term Flere

$200 AUD in 7 dage
(12 bedømmelser)

Hi, I am interested in your offer as a developer with 10+ years of experience. I want to give you a little bit of strength with my abilities. My skill and sincerety will be of some help to you in completing this proje Flere

$200 AUD in 7 dage
(8 bedømmelser)

Hi, I have read and very deeply understand all your requirements of removing signatures from PDF files. I can definitely use the library that you have provided in C# to create a standalone executable, that works us Flere

$60 AUD på 1 dag
(5 bedømmelser)

Hi Sir, This is Lan and I am an automated process expert. I can provide UiPath solutions and use UiPath to create automated processes to complete this process. 1. Use WINDOWS system 2. UiPath needs to be installed 3. R Flere

$50 AUD på 1 dag
(6 bedømmelser)

Hello, Dear Client! I'm a full stack developer with over 7 year of experience. I can deliver the perfect result with JAVA or C#. I have good experience in this fields. Please ping me and discuss this in detail. Thanks

$140 AUD in 7 dage
(1 bedømmelse)

FULL Stack developer since 1997 start coing and software development , and everyday update my skills. • Software Development - Since 1997 - expert • C#/.NET software development - Since 2004 - expert • ASP.NET Web F Flere

$250 AUD in 7 dage
(1 bedømmelse)

Hi Very Thanks for your positing "Create command line exe program to remove digital signatures from PDF using Java iText Library" and I checked As an expert Full stack software engineer i have 7+ years experience in Flere

$100 AUD på 1 dag
(0 bedømmelser)

Dear Employer! I have a plenty of experiences in programming of C++, C#, VB, VBA, EXCEL, ACCESS, x86/x64 Assembler, etc. I read carefully the demands of your project. Please send details of project, I will start the Flere

$140 AUD in 7 dage
(0 bedømmelser)

Hi there, From my understanding about your problem, you are trying to remove the digitally signed signature in your PDF document by flatten it but you can only do them one at a time. I have found the solution to remov Flere

$200 AUD på 1 dag
(0 bedømmelser)