Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
new to QuickPDF Library |
Post Reply ![]() |
Author | |
George02 ![]() Beginner ![]() Joined: 18 Feb 13 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
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 ;-) |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
George02 ![]() Beginner ![]() Joined: 18 Feb 13 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store