Re: [Podofo-users] DecodeParms, how to use?

2014-08-19 Thread Svetlana Watkins
It may not work at all. It is unusual that there is not a single example on the web showing how this should be used. When you look at a cross reference stream through the podofo browser it says that the stream cannot be shown because it contains binary data. Maybe nobody knows which is why you a

Re: [Podofo-users] DecodeParms, how to use?

2014-08-19 Thread Domonic Tom
Thanks for the tips, but are you even able to provide an example of what goes into this Parameter (PdfDecodeParms) in the PdfFilter->Decode function ? I just cannot get it to work. It's supposed to be a Dictionary pointer of which I pass the address. I'm not sure I'm even supposed to extract t

Re: [Podofo-users] DecodeParms, how to use?

2014-08-19 Thread Domonic Tom
Can you see what I mean. The Decode function requires a pointer argument. I have to provide it with a PdfDictionary so getting the Decode Parms directly is of no use in this case. dict->HasKey("Columns") and dict->HasKey("Predictor") both indicate true, so when I load the dictionary it is def

Re: [Podofo-users] DecodeParms, how to use?

2014-08-19 Thread Domonic Tom
Hi Thanks very much for the response. I suppose then my question is with regards to the function below. PdfFilter->Decode (const char *pInBuffer, pdf_long lInLen, char **ppOutBuffer, pdf_long *plOutLen, const PdfDictionary *pDecodeParms) const If I have to do this every time I want to decode a

Re: [Podofo-users] DecodeParms, how to use?

2014-08-19 Thread zyx
On Tue, 2014-08-19 at 13:17 +0930, Domonic Tom wrote: > ... > > < 12>>/Filter/FlateDecode/ID[<6647557224A6C102A60F6D82BB22C18D>]/Index[10 > > 20]/Info 9 0 R/Length 64/Prev 23381/Root 11 0 R/Size > 30/Type/XRef/W[1 2 1]>> > > If I know which object this is and extract the dictionary then I > c