torakiki / pdfsam

PDFsam, a desktop application to split, merge, mix, rotate PDF files and extract pages
https://pdfsam.org
GNU Affero General Public License v3.0
3.38k stars 340 forks source link

Alternate Mix Blank Pages #185

Closed BobobUnicorn closed 8 years ago

BobobUnicorn commented 8 years ago

PDF Split and Merge Basic Edition 3.1.0.RELEASE Java(TM) SE Runtime Environment 1.8.0_40-b26 JavaFX 8.0.40-b26 Max memory 494 MB

Windows 10 Pro Version 10.0.14393 Build 14393

combined.pdf even-reversed.pdf odd.pdf

When odd.pdf (1st file) & even-reversed.pdf (2nd file) are put into alternate mix with second file reversed, the output is combined.pdf.

Shows blank pages when viewed with:

Does not show blank pages when viewed with:

torakiki commented 8 years ago

Can you constantly reproduce it? I figured what is the issue with the attached combined.pdf but I can't manage to reproduce it with the given inputs, either in Linux or Win10

BobobUnicorn commented 8 years ago

I originally tried it twice and it produced the same problem. However, now that I try again it produces a file that is readable with all the viewers above.

torakiki commented 8 years ago

Ok, please let us know if you manage to reproduce it. I also tried to follow the code and see if I could find a scenario where it happens but I couldn't find any so it's kind of a strange issue