PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________

Hi All..
I am working on an application to decode and reencode the encoded data
in the pdf..and am using third party encoding/decoding libraries for
this.
now the problem is..I am not able to decode the lzw buffer in pdf..
i get the error bad compressed format..but if i rip off initial 2
bytes the buffer gets decoded. Also I am able to decode the buffer
even if i rip off till 5 bytes..is the lzw buffer contained in some
header like flate buffer or whats going wrong..?


One more issue...i decode the flate buffer..reencode it..the new
encoded data is not same as that of the pdf encoded data..
so i am not able to reopen the regenerated pdf file
the scenario looks like this

pdf file -- my application ----> a file with decoded data --my
application---> regenerated pdf file(not same as original pdf)..

any help is highly appreciated..
thanks in advance
atul






___________________________________________________ Meet your old school or college friends from 1 Million + database... Click here to reunite www.batchmates.com/rediff.asp



To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html



Reply via email to