Print Page | Close Window

Tagging images for external color correction.

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=2727
Printed Date: 02 Jun 24 at 7:05PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Tagging images for external color correction.
Posted By: perrstep
Subject: Tagging images for external color correction.
Date Posted: 05 Sep 13 at 8:18PM
Hi,

The company I work for has a client who requires us to provide a manifest of images that need color correction before printing in the PDF files we produce them.

That manifest has to refer to the actual object number that identifies those objects in the PDF files (eg the "obj" tag in the PDF spec.)

I would need some advice or ideas on how to accomplish that.

I started by looking for functions that return object numbers.  The only trick I found to retrieve an object number was to call GetObjectCount immediately after having added an image with AddImageFromFile.  That seemed to return the object number that is used in the PDF file.  Am I right in assuming this?

But to complicate things further, we are merging PDF files together before handing them to our customer.  The object numbers that I collected earlier don't survive a merge.

So I thought I could tag image objects with some metada just like what we can do today with SetDocumentMetadata, so I could recuperate that information after all our PDFs are merged. But I found nothing to do that.  Is it possible to add this functionnality?

Also, is it possible to add functions to navigate easily from image ID to object number in the PDF file?

Thanks in advance you for your time.



Replies:
Posted By: Ingo
Date Posted: 06 Sep 13 at 7:23AM
Hi!
 
Things like this (object numbers) i'm doing by my own.
Saving the loaded pdf decrypted.
Then searching/counting inside the stream for obj-tags.
 
Cheers and welcome here,
Ingo
 


-------------
Cheers,
Ingo



Posted By: AndrewC
Date Posted: 12 Sep 13 at 11:21AM
perrstep,

Are you referring to the Colourspaces and their definition.

Have you looked at the GetPageColorSpaces function.  It might be possible to add an obj number to the output of this function but I would need to know if this is what you are needing ?

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