Print Page | Close Window

new to QuickPDF Library

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=2534
Printed Date: 14 Jun 25 at 11:50AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: new to QuickPDF Library
Posted By: George02
Subject: new to QuickPDF Library
Date Posted: 18 Feb 13 at 3:35PM
please can someone point me into the right direction how to create PDF-XObjects that can be repeated one several pages (like headers and footers).

If I add already G4 compressed TIFF-images to a PDF can the compression be conserved or will these images be converted? The CompressImages function has only option 0 and 1 = flate compression.

Thanks for your input.




Replies:
Posted By: Ingo
Date Posted: 18 Feb 13 at 6:58PM
Hi George!

I think G4 TIFF-Support works only when using GDI+ with Vista, XP, Server 2008.
Do a search with G4 as keyword ;-)
For the other thing: You can create a page one time and then cloning it several time in the same document. Have a look in the online reference here:
http://www.debenu.com/docs/pdf_library_reference/PageManipulation.php

Cheers and welcome here,
Ingo

BTW: With a topic like "new to QuickPDF library" nobody knows that you have a special question ;-)



Posted By: AndrewC
Date Posted: 19 Feb 13 at 12:16PM
AddImageFromFile was updated about a year ago to preserve the Group 3 and 4 compression data so as to minimise filesizes.

QPL doesn't directly support the creation of grouped XObjects but the CapturePage and DrawCapturedPage functions could be used to simulate this type of behaviours.  

You can draw the header onto a blank page, capture that page which then deletes the page but the captured page can be drawn multiple times on multiplepages using the CapturedPage ID.

Andrew.


Posted By: George02
Date Posted: 19 Feb 13 at 1:15PM
Ingo & Andrew, thank you for your response. The fact that AddImageFromFile preserves G3 and G4 compression really helps a lot (does it make sense to include that info within the manual?). In the future it would be nice to have a way to also support or at least preserve JBIG2-compression.

Yes, with the use of CapturedPage ID we can mimic some kind of XObject behavior.

What do you think about a method to manual add different objects to the pdf file with something like NewObjNr = AddObjectFromString(ObjHeader, ObjectDataString)
This kind of function would give us the flexibility to include current unsupported functionality.

Thank you for your great product.



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