is quartz able to render pdfs without other libraries? - iphone

I found CGPDFDocumentRef that should be the way to render pdf's on OSX and iOS. Is it right? Without any other library or Adobe SDK?

Quartz does not implement the complete ISO 32000 PDF standard. For example, iOS devices do not render JPEG2000 compressed images at all.

Yes Quartz can natively render PDFs. See the quartz demo sample code

Related

Getting an editable text from UIImage of text in Xcode

I want to develop an application in which I capture an image of text (a business card, for example), and now I want it to be scanned and converted into an editable text. Is it possible? Something like optical character recognition.
Here are some examples
OpenCV library for Apple iOS. It includes two XCode projects: one for iPhone, the other one for iPad Try OpenCV with iOS
demo application that utilizes the Tesseract library as a static library compiled under Mac OS 10.6 Try Tesseract with iOS
And Here is good question realte to this.
Hope this information should be useful for you.
Thanks

How to build VTK for iPhone?

I'm trying to make an iPhone/iPad application that uses VTK to visualize DICOM images and present them on the screen. The problem is no matter what I do, I am not able to build VTK to work on the device (it works correctly on the simulator).
Is there any way to build VTK for the iPhone/iPad?
Thank you very much for your help! :)
VTK can render using the Open GL API, or more recently Manta. The iPhone (and other devices such as Android) use OpenGL ES, which is essentially a subset of OpenGL targeted at embedded systems. Until VTK is ported to use OpenGL ES as an alternative backend it will not be possible to use VTK on mobile devices. I am not familiar with the iPhone simulator, but I imagine that VTK is still able to use OpenGL in the simulator. Porting is possible, but it would not be a trivial thing to do.
Remove the tag -DIOS_SIMULATOR_ARCHITECTURES=''
Just use below:
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_FRAMEWORK_INSTALL_PREFIX=$prefix/lib -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DVTK_IOS_BUILD=ON -DModule_vtkFiltersModeling=ON ..

my own epub rendering application in iphone possible?

I am required to make a app that renders epub format book in iPhone. Is it possible ? I know I can render PDFs using webView. how can I render epub formats ? is there any apple restrictions ?
thanks
Its is possible I have been working on one for about a month now.
Take a look at:
http://groups.google.com/group/leaves-developers/browse_thread/thread/27e4bf5ff3c53113

SVG images in an iPhone application

I'm looking for a small tutorial that can help me use svg images in iphone application. I'm trying to learn about svg format, and would love to know if there is relevant material from apple out there? particularly, w.r.t. iPhone.
Are there any open source libraries, or frameworks in iPhone SDK 3.0+ for SVG?
Any help is appreciated. Thanks.
Mustafa
The UIWebView class will render SVG files.
To demonstrate this, put your SVG file on the web somewhere and view it with Mobile Safari.
If you need a tutorial on how to use UIWebView, search Google on "UIWebView tutorial".
You might want to check out this project:
https://github.com/splashdust/SVGQuartzRenderer
It enables you to at least get past UIWebView.

PDFKit framework available on the iPhone OS?

I'm curious to know whether the PDFKit framework is available for use within the iPhone OS, in order to build a PDF reader a bit more sophisticated than the one available by simply opening PDF documents with UIWebView.
Just wondering if this is an option or not.
Grab the official sample code called QuartzDemo which has an example on how to manipulate a PDF file using Quartz graphics. The output seems faster than the UIWebView.
The PDFKit is not available on iPhone at this time. Certainly the functionality is there, but Apple has not opened it up in an available framework. You should file a bug on this if you'd like to see it in the future.
If you want more control over PDF, there are many ways to manipulate PDF content using Quartz graphics.