Attempts to extract two rects from a single page to two pages.

General

After a typical scanning session, the resulting PDF document consists of pages which look roughly like this:

 +---------++---------+ black
 |         ||         | black
 | Page    || Page    | black
 |         ||         | black
 |  n      ||  n+1    | black
 |         ||         | black
 +---------++---------+ black
black black black black black
black black black black black
Which is -- I guess -- ok for many persons but I don't really see why. Wouldn't it be nice to have one page on a page? It also allows way easier re-print of a given scanned document. The pdftool supports this with two modes -- splitpage will allow you to go for the actual page-splitting process while splitpageinfo provides you with a suggestion for dimension parameters to use (based on the assumption of a non-existing black margin. As the pdftool is a commandline utility, you will probably have to twiddle around with the parameters until you find the perfect fit.
The parameters specify the (x,y) coordinates as well as height and width for the page to be created from the right resp. left page on the scan.
When processing, the pdftool creates new page objects of which two reference the same image stream -- thus the file size is almost constand (it adds some kByte for the page objects but doesn't split the actual scanned images). This also means that the original scans are still contained within the PDF file as no actual image manipulation happens. It's all just creation of a viewport.

Cave

Note that this functionality makes some assumptions -- one of them is a certain way to create a page. However, there's more than one way to do that -- and thus PDFs created by desktop publishing systems may not work. The function has been tested with the output of a number of industrial office scanners/photocopiers and they utilized the same structural approach to creating a PDF -- and the PDFtool is designed work with their output.

Examples

shell$ # get page mediabox infos and suggestion for splitpage call
shell$ pdftool splitpageinfo -i SKM_22717091110520.pdf
testing for linearization...
first objects marker: 1
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000..........3500000..........3510000..........3520000..........3530000..........3540000....
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000..........3500000..........3510000..........3520000..........3530000..........3540000..........3550000..........3560000..........3570000..........3580000..........3590000..........3600000..........3610000..........3620000..........3630000..........3640000..........3650000..........3660000..........3670000..........3680000..........3690000..........3700000..........3710000..........3720000..........3730000..........3740000..........3750000..........3760000..........3770000..........3780000..........3790000..........3800000..........3810000..
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000..........3500000..........3510000..........3520000......
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000.......
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000..........3500000..........3510000..........3520000..........3530000..........3540000..........3550000..........3560000..........3570000..........3580000..........3590000..........3600000..........3610000..........3620000..........3630000..........3640000......
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000..........3500000..........3510000..........3520000..........3530000..........3540000..........3550000..........3560000..........3570000..........3580000..........3590000..........3600000..........3610000..........3620000..........3630000..........3640000..........3650000..........3660000..........3670000..........3680000..........3690000..........3700000..........3710000..........3720000..........3730000..........3740000..........3750000..........3760000..........3770000..........3780000..........3790000..........3800000..........3810000..........3820000..........3830000..........3840000..........3850000..........3860000..........3870000..........3880000..........3890000..........3900000..........3910000..........3920000..........3930000..........3940000..........3950000..........3960000..........3970000..........3980000........
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000.........
no endstream keyword, recovering......
done loading file.
document has 7 pages.
page 1 mediabox: 	(0, 0, 595, 841)
Try pdftool splitpage -i SKM_22717091110520.pdf -lx 0 -ly 0 -lw 297.5 -lh 841 -rx 297.5 -ry 0 -rw 297.5 -rh 841
page 2 mediabox: 	(0, 0, 595, 841)
Try pdftool splitpage -i SKM_22717091110520.pdf -lx 0 -ly 0 -lw 297.5 -lh 841 -rx 297.5 -ry 0 -rw 297.5 -rh 841
page 3 mediabox: 	(0, 0, 595, 841)
Try pdftool splitpage -i SKM_22717091110520.pdf -lx 0 -ly 0 -lw 297.5 -lh 841 -rx 297.5 -ry 0 -rw 297.5 -rh 841
page 4 mediabox: 	(0, 0, 595, 841)
Try pdftool splitpage -i SKM_22717091110520.pdf -lx 0 -ly 0 -lw 297.5 -lh 841 -rx 297.5 -ry 0 -rw 297.5 -rh 841
page 5 mediabox: 	(0, 0, 595, 841)
Try pdftool splitpage -i SKM_22717091110520.pdf -lx 0 -ly 0 -lw 297.5 -lh 841 -rx 297.5 -ry 0 -rw 297.5 -rh 841
page 6 mediabox: 	(0, 0, 595, 841)
Try pdftool splitpage -i SKM_22717091110520.pdf -lx 0 -ly 0 -lw 297.5 -lh 841 -rx 297.5 -ry 0 -rw 297.5 -rh 841
page 7 mediabox: 	(0, 0, 595, 841)
Try pdftool splitpage -i SKM_22717091110520.pdf -lx 0 -ly 0 -lw 297.5 -lh 841 -rx 297.5 -ry 0 -rw 297.5 -rh 841
shell$ # actually perform the splitting...
shell$ pdftool splitpage -i SKM_22717091110520.pdf -lx 0 -ly 0 -lw 297.5 -lh 841 -rx 297.5 -ry 0 -rw 297.5 -rh 841
testing for linearization...
first objects marker: 1
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000..........3500000..........3510000..........3520000..........3530000..........3540000....
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000..........3500000..........3510000..........3520000..........3530000..........3540000..........3550000..........3560000..........3570000..........3580000..........3590000..........3600000..........3610000..........3620000..........3630000..........3640000..........3650000..........3660000..........3670000..........3680000..........3690000..........3700000..........3710000..........3720000..........3730000..........3740000..........3750000..........3760000..........3770000..........3780000..........3790000..........3800000..........3810000..
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000..........3500000..........3510000..........3520000......
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000.......
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000..........3500000..........3510000..........3520000..........3530000..........3540000..........3550000..........3560000..........3570000..........3580000..........3590000..........3600000..........3610000..........3620000..........3630000..........3640000......
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000..........3110000..........3120000..........3130000..........3140000..........3150000..........3160000..........3170000..........3180000..........3190000..........3200000..........3210000..........3220000..........3230000..........3240000..........3250000..........3260000..........3270000..........3280000..........3290000..........3300000..........3310000..........3320000..........3330000..........3340000..........3350000..........3360000..........3370000..........3380000..........3390000..........3400000..........3410000..........3420000..........3430000..........3440000..........3450000..........3460000..........3470000..........3480000..........3490000..........3500000..........3510000..........3520000..........3530000..........3540000..........3550000..........3560000..........3570000..........3580000..........3590000..........3600000..........3610000..........3620000..........3630000..........3640000..........3650000..........3660000..........3670000..........3680000..........3690000..........3700000..........3710000..........3720000..........3730000..........3740000..........3750000..........3760000..........3770000..........3780000..........3790000..........3800000..........3810000..........3820000..........3830000..........3840000..........3850000..........3860000..........3870000..........3880000..........3890000..........3900000..........3910000..........3920000..........3930000..........3940000..........3950000..........3960000..........3970000..........3980000........
no endstream keyword, recovering...
no endstream keyword, recovering.............10000..........20000..........30000..........40000..........50000..........60000..........70000..........80000..........90000..........100000..........110000..........120000..........130000..........140000..........150000..........160000..........170000..........180000..........190000..........200000..........210000..........220000..........230000..........240000..........250000..........260000..........270000..........280000..........290000..........300000..........310000..........320000..........330000..........340000..........350000..........360000..........370000..........380000..........390000..........400000..........410000..........420000..........430000..........440000..........450000..........460000..........470000..........480000..........490000..........500000..........510000..........520000..........530000..........540000..........550000..........560000..........570000..........580000..........590000..........600000..........610000..........620000..........630000..........640000..........650000..........660000..........670000..........680000..........690000..........700000..........710000..........720000..........730000..........740000..........750000..........760000..........770000..........780000..........790000..........800000..........810000..........820000..........830000..........840000..........850000..........860000..........870000..........880000..........890000..........900000..........910000..........920000..........930000..........940000..........950000..........960000..........970000..........980000..........990000..........1000000..........1010000..........1020000..........1030000..........1040000..........1050000..........1060000..........1070000..........1080000..........1090000..........1100000..........1110000..........1120000..........1130000..........1140000..........1150000..........1160000..........1170000..........1180000..........1190000..........1200000..........1210000..........1220000..........1230000..........1240000..........1250000..........1260000..........1270000..........1280000..........1290000..........1300000..........1310000..........1320000..........1330000..........1340000..........1350000..........1360000..........1370000..........1380000..........1390000..........1400000..........1410000..........1420000..........1430000..........1440000..........1450000..........1460000..........1470000..........1480000..........1490000..........1500000..........1510000..........1520000..........1530000..........1540000..........1550000..........1560000..........1570000..........1580000..........1590000..........1600000..........1610000..........1620000..........1630000..........1640000..........1650000..........1660000..........1670000..........1680000..........1690000..........1700000..........1710000..........1720000..........1730000..........1740000..........1750000..........1760000..........1770000..........1780000..........1790000..........1800000..........1810000..........1820000..........1830000..........1840000..........1850000..........1860000..........1870000..........1880000..........1890000..........1900000..........1910000..........1920000..........1930000..........1940000..........1950000..........1960000..........1970000..........1980000..........1990000..........2000000..........2010000..........2020000..........2030000..........2040000..........2050000..........2060000..........2070000..........2080000..........2090000..........2100000..........2110000..........2120000..........2130000..........2140000..........2150000..........2160000..........2170000..........2180000..........2190000..........2200000..........2210000..........2220000..........2230000..........2240000..........2250000..........2260000..........2270000..........2280000..........2290000..........2300000..........2310000..........2320000..........2330000..........2340000..........2350000..........2360000..........2370000..........2380000..........2390000..........2400000..........2410000..........2420000..........2430000..........2440000..........2450000..........2460000..........2470000..........2480000..........2490000..........2500000..........2510000..........2520000..........2530000..........2540000..........2550000..........2560000..........2570000..........2580000..........2590000..........2600000..........2610000..........2620000..........2630000..........2640000..........2650000..........2660000..........2670000..........2680000..........2690000..........2700000..........2710000..........2720000..........2730000..........2740000..........2750000..........2760000..........2770000..........2780000..........2790000..........2800000..........2810000..........2820000..........2830000..........2840000..........2850000..........2860000..........2870000..........2880000..........2890000..........2900000..........2910000..........2920000..........2930000..........2940000..........2950000..........2960000..........2970000..........2980000..........2990000..........3000000..........3010000..........3020000..........3030000..........3040000..........3050000..........3060000..........3070000..........3080000..........3090000..........3100000.........
no endstream keyword, recovering......
done loading file.
document has 7 pages.
duplicating pages...
repeating page 7
repeating page 6
repeating page 5
repeating page 4
repeating page 3
repeating page 2
repeating page 1
writing changed file to newfile.pdf
39 objects in cache... dumping to file...
 46 47 2 54 3 5 4 1 53 9 11 10 8 52 15 17 16 14 51 21 23 22 20 50 27 29 28 26 49 33 35 34 32 48 39 41 40 38 44

As a bonus you see that streams do not always follow the convention of having the length attribute in their dict :(