pdf_hide icon indicating copy to clipboard operation
pdf_hide copied to clipboard

Please send me a sample data_file

Open senthinil opened this issue 8 years ago • 1 comments

Hi

Please send me a sample data_file in your command as follows : python3 pdf_hide -k test -o target.pdf embed --no-random data_file mozilla.pdf -v

my data_file contents is : This book is authorized to Kris

The output : File "pdf_hide", line 195, in main() File "pdf_hide", line 170, in main result = ps.embed(args.data.read(),args.key,norandom=args.norandom) File "/home/hp/pdf_hide-master/pdfhide/pdf_algo.py", line 381, in embed m = re.match(r'[(.*?)][ ]?TJ',line_[k:]) KeyboardInterrupt Its taking long long time, waiting indefinitely. Please help

Regards kris

senthinil avatar Feb 07 '17 18:02 senthinil

Hi,

I suspect the problem is not your data file: it is you original PDF file. It is too large.

The script goes through the whole PDF file and the processing is not very efficient. That is most likely why it is taking so long.

Try a shorter PDF file.

ncanceill avatar Jun 24 '17 20:06 ncanceill