View Single Post
Old 08-22-2015, 09:47 AM   #1122
isaacbh
Connoisseur
isaacbh makes omelettes without breaking eggs.isaacbh makes omelettes without breaking eggs.isaacbh makes omelettes without breaking eggs.isaacbh makes omelettes without breaking eggs.isaacbh makes omelettes without breaking eggs.isaacbh makes omelettes without breaking eggs.isaacbh makes omelettes without breaking eggs.isaacbh makes omelettes without breaking eggs.isaacbh makes omelettes without breaking eggs.isaacbh makes omelettes without breaking eggs.isaacbh makes omelettes without breaking eggs.
 
Posts: 57
Karma: 98196
Join Date: Mar 2015
Location: Israel
Device: Kobo Aura H20
Hello, I have trouble with page breaks on a pdf I'm trying to process: k2pdfopt will sometimes break a page in a place that doesn't seem right. I hope that attached images are clear enough.

The first 2 images are from the original pdf. The other 2 are the same pages after processing. The program puts a page break at the end of the first (original) page, even through, as you can see from the second page, the text simply continues. There is no new section or chapter.

My command line was:

Code:
k2pdfopt -ui- -x -h 1430 -w 1080 -dpi 265 -col 1 -wrap- -vb -2 -f2p -1 -g 0.3 -bpc 2 -p 14-184 -mt 1.5cm -mb 1.3cm -om 0.3cm t.pdf
As you can see from the command, this is for the Kobo Aura H2O and I'm trying to preserve the layout of the pdf as much as possible.
Attached Thumbnails
Click image for larger version

Name:	original1.png
Views:	262
Size:	57.5 KB
ID:	141300   Click image for larger version

Name:	original2.png
Views:	221
Size:	61.5 KB
ID:	141301   Click image for larger version

Name:	k2-1.png
Views:	241
Size:	277.1 KB
ID:	141302   Click image for larger version

Name:	k2-2.png
Views:	229
Size:	16.7 KB
ID:	141303  
isaacbh is offline   Reply With Quote