Java PDF Obfuscation Program

Completed Posted 6 years ago Paid on delivery
Completed Paid on delivery

I require a java command line program that takes a PDF file and then randomly obfuscates (grey out) areas of each page. This should be done by drawing grey rectangles on each page.

I prefer the program be written using the Apache PDFBox library.

The program should have the following parameters:

Filename

Percent (default = 30%) #Percent of page to be greyed out

Color (default = grey)

Opacity (default = 97%)

Example Command Line:

Java -jar PDFObfuscation <PDF Name> <percentage> <color> <opacity>

Note: For Percent. The program should randomly decide for each page how many rectangles are to be drawn (2 to 6) and a random height for each of these rectangles (that it adds up to the Percent). The rectangles will be the width of the page (account for margins).

The program should save the output file as <PDF Name>-Obscure.pdf. For example, input: [url removed, login to view] and then output: Sample1-Obscure.pdf.

The program should ensure that the output file can not be edited (i.e. delete the rectangles). This may require printing the PDF instead of simply saving it.

I have attached a Sample PDF showing what I require.

Java Software Architecture

Project ID: #14732234

About the project

6 proposals Remote project Active 6 years ago

Awarded to:

imanolie

Hi! I am an experienced java developer. I do have experience with Apache pdfbox so I can easily help you with it. I can code it in less than 1 day (including demo to you) Relevant Skills and Experience java apache pdf More

$35 USD in 1 day
(15 Reviews)
5.2