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

Thanks Leonard..

As far as legal issues are concerned..there is not any problem..

now let me explain a little of what im doing..
i read one byte after the stream keyword (the carriage return) and
then read the "length" (read from the stream dictionary) bytes in a
buffer and pass this buffer to the decoding function provided by the
library.
now the problem is that buffer is not decoded and i get the error "bad
compressed format.."
i have done similar in case of flate also and the buffer gets decoded
appropriately..


thanks in advance,
atul


On Tue, 16 Sep 2003 Leonard Rosenthol wrote :

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


At 4:58 AM +0000 9/16/03, atul garg wrote:
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.

OK.



now the problem is..I am not able to decode the lzw buffer in pdf..

First the legal issues:


Are you located in the United States or elsewhere? If you are
outside the US, have you verified that the LZW patent has expired in
your area or have you acquired a license?

Now the technical:


Without knowing EXACTLY what these "3rd party libraries" are doing
and what your code does, it is quite difficult/impossible to help.
Make sure you are reading the correct info from teh PDF and placing it
back as well - no headers, watch the space around stream/endstream,
etc.


Leonard
--
---------------------------------------------------------------------------
Leonard Rosenthol
<mailto:[EMAIL PROTECTED]>
Chief Technical Officer
<http://www.pdfsages.com>
PDF Sages, Inc. 215-629-3700 (voice)
215-629-0789 (fax)


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



___________________________________________________
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