Quantcast
Channel: Adobe Community : Popular Discussions - PDF Language and Specifications
Viewing all articles
Browse latest Browse all 46145

XRef Stream

$
0
0
I've noticed that the new cross reference stream isn't as nice to me as the 1.4 version.  I've deflated the stream and don't make too much sense of how to get my object file offsets.  Here is my deflated stream, with the last column as the actual offset of the object:<br /><br />  2   1   0  16   0      16<br />  2   0   2 204   0      732<br />  2   0   1  81   0      813<br />  2   0   1 243   0      1056<br />  2   0   4 169   0      2249<br />  2   0   4   3   0      3276<br />  2   0   3 162   0      3950<br />  2   0   3 177   0      4639<br />  2   0   2 184   0      5335<br />  2   0   3 147   0      5994<br />  2   0   3  28   0      6790<br />  2   0   3 205   0      7507<br />  2   0   3 155   0      8430<br />  2   0  11 132   0      11122<br />  2   0   4 187   0      12077<br />  2   0  13 210   0      15615<br />  2   0  29 192   0      22975<br />  2   0   6   1   0      24512<br />  2   0 161 180   0      116<br />  2   1   0 180   0      0<br />  2   0   0   0   1      0<br />  2   0   0   0   1      0<br />  2   0   0   0   1      0<br />  2   0   0   0   1      0<br />  2   0   0   0   1      0<br />  2   0   0   0   1      0<br />  2   0   0   0   1      0<br />  2   0   0   0   1      0<br />  2   0   0   0   1      0<br />  2 255   1 199 247      ?<br /><br />Here's the object's dictionary:<br /><br /><</DecodeParms<</Columns 4/Predictor 12>>/Filter/FlateDecode/ID[<D9BDC6BB569A27F16BC08812ED6B5F60><593D651 B79E5804F83C6FFB75E72EF81>]/Index[37 30]/Info 36 0 R/Length 90/Prev 53802/Root 38 0 R/Size 67/Type/XRef/W[1 2 1]>>stream<br /><br />Do I need to deflate the stream differently?  I'm just using the plane jane DeflateStream object in .NET.  Do I need to massage the data with the PNG predictor? I've tried converting columns 3 & 4 to HEX and then add the previous rows result, it works for the second row, but breaks there after.<br /><br />Any ideas? <br /><br />Thanks.

Viewing all articles
Browse latest Browse all 46145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>