Extracting images from a PDF

后端 未结 3 539
情深已故
情深已故 2020-12-12 18:43

I am having a little query regarding Extracting specifically images ( only images ) from a supplied PDF document in iPhone Application.

I have gone through the docum

3条回答
  •  悲&欢浪女
    2020-12-12 19:05

    Converting a CGPDFStreamRef to a UIImage doesn't really make conceptual sense; a PDF represents a document with potentially multiple pages and no obvious mapping to a bitmap image.

    Even if you know your PDF contains only one page, you'll still need to do some parsing and finagling. There's a very short discussion of that here: http://lists.apple.com/archives/Cocoa-dev/2006/Sep/msg01407.html

提交回复
热议问题