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

scross-reference stream

$
0
0

I'm developing pdf parser,i'm in trouble.

6 0 obj<</DecodeParms<</Columns 4/Predictor 12>>/Filter/FlateDecode/ID[<D0D1F903C5032042884E61B2933652DA><F929944EC68A3543A18A40F2E7630A9D>]/Info 23 0 R/Length 59/Root 25 0 R/Size 24/Type/XRef/W[1 2 1]>>stream
h辀b
endstream
endobj

I decode the data in stream by zlib.

the compressed data is 115 bytes,

so,i convert the bytes to 5*23 matrix

hex(Compressed data):

02 01 00 10 00
02 00 02 6B 00
02 00 00 82 00
02 00 02 0A 00
02 00 01 6F 00
02 00 04 9F 00
02 00 01 22 00
02 00 00 66 00
02 00 08 8F 00
02 00 EE 18 00
02 01 00  A8 00
02 00 00  00 01
02 00 00 00  01
02 00 00  00 01
02 00 00 00  01
02 00 00  00 01
02 00 00 00  01
02 00 00  00 01
02 00 00 00  01
02 00 00  00 01
02 00 00 00  01
02 00 00  00 01
02 FF 01 B4 F5

then,i use png filter alg algorithm to decode the matrix data:

Up(x) + Prior(x)

hex(decoded data):

01 00 10 00

01 02 7B 00

01 02 ED 00

01 04  F8 00

..................

..................

 

w[1 2 1]

2th byte to 3byte is offset,

I cant't find obj by the offset,how can help me?



Viewing all articles
Browse latest Browse all 46145

Trending Articles



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