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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - new to QuickPDF Library
  FAQ FAQ  Forum Search   Register Register  Login Login

new to QuickPDF Library

 Post Reply Post Reply
Author
Message
George02 View Drop Down
Beginner
Beginner


Joined: 18 Feb 13
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote George02 Quote  Post ReplyReply Direct Link To This Post Topic: new to QuickPDF Library
    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.

Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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 ;-)

Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
George02 View Drop Down
Beginner
Beginner


Joined: 18 Feb 13
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote George02 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store