rivate int blankPdfsize = 20;
public void removeBlankPdfPages(String pdfSourceFile, String
pdfDestinationFile, boolean debug)
{
try
{
PdfReader r = new PdfReader(pdfSourceFile);
RandomAccessFileOrArray raf = new
RandomAccessFileOrArray(pdfSourceFile);
Document document = new
Please keep in mind that pagecontent is optional and can be missing for
blank pages. And of course it can be that there is something written in
white that only can be seen on pages with a black background. This came
up several times on this mailinglist and there is no easy solution.
However it