Re: Decoding images in PDF files

2013-08-26 Thread Graham Cox
On 26/08/2013, at 8:07 PM, Antonio Nunes wrote: > No, you shouldn't need to decompress it. Something like the following should > get you the data: Thanks Antonio, this worked great :) --Graham ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

Re: Decoding images in PDF files

2013-08-26 Thread Wim Lewis
On 26 Aug 2013, at 10:49 AM, Graham Cox wrote: > I'm working on a parser that needs to be able to extract graphics from PDF > files. So far, I'm making good headway with the CGPDFxxx functions. > > I have a question about extracting embedded bitmap images. When I encounter > an XObject stream w

Re: Decoding images in PDF files

2013-08-26 Thread Scott Ribe
On Aug 26, 2013, at 11:49 AM, Graham Cox wrote: > I have a question about extracting embedded bitmap images. When I encounter > an XObject stream with subType /Image, I get a bunch of parameters that looks > pretty close to the parameters to CGImageCreate. However, the 'Filter' > parameter ind

Re: Decoding images in PDF files

2013-08-26 Thread Antonio Nunes
On 26 Aug, 2013, at 18:49 , Graham Cox wrote: > I'm working on a parser that needs to be able to extract graphics from PDF > files. So far, I'm making good headway with the CGPDFxxx functions. > > I have a question about extracting embedded bitmap images. When I encounter > an XObject stream w

Decoding images in PDF files

2013-08-26 Thread Graham Cox
Hi, I'm working on a parser that needs to be able to extract graphics from PDF files. So far, I'm making good headway with the CGPDFxxx functions. I have a question about extracting embedded bitmap images. When I encounter an XObject stream with subType /Image, I get a bunch of parameters that