Print Page | Close Window

Extract pages from XFA file as JPEG

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1920
Printed Date: 04 Apr 26 at 11:06PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Extract pages from XFA file as JPEG
Posted By: RVN
Subject: Extract pages from XFA file as JPEG
Date Posted: 11 Aug 11 at 6:30AM

Im developing a pdf viewer , but I cant extract pages as JPEG from XFA files.

As In your c# sample i used below method

byte[] bitmapData = (byte[])qp.DARenderPageToString(fileHandle,pageReference, 0, smallestDPI);

but it doesn’t render my XFA pdf file as jpeg. Are there any methods in this DLL which I can use for my viwer ?
Confused



Replies:
Posted By: AndrewC
Date Posted: 12 Aug 11 at 3:13PM
We don't render XFA files if they use XML data for the drawing commands.  Most normal PDF files put PDF commands into the /Page /Contents stream.  Some XFA fields have 0 bytes in this content stream entry and place the drawing instructions into the an XML stream.  

There are very few PDF libraries that can process and render these XML based XFA forms.

Can you send us the PDF file and we can check it out to see what type of XFA file it is.  You can create a support ticket at

   http://www.quickpdflibrary.com/support/support-query.php - http://www.quickpdflibrary.com/support/support-query.php


Andrew.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk