Java PDF Obfuscation Program
$10-30 USD
Thanh toán khi bàn giao
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.
ID dự án: #14732234