Print Page | Close Window

tag images

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=3933
Printed Date: 02 May 24 at 3:10AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: tag images
Posted By: iesbad71
Subject: tag images
Date Posted: 06 Jul 21 at 10:23AM
How can I "tag" an image, ie add a key - value to an image?
I need to add some pair of key-values (like a dictionary) to an image (or stream).
Is there an API for that?
Thanks in advice



Replies:
Posted By: Ingo
Date Posted: 06 Jul 21 at 11:28AM
Hi,

perhaps you should ask in a forum having to do with image processing?
This here is a small community regarding development with the QuickPDF library...




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



Posted By: iesbad71
Date Posted: 06 Jul 21 at 11:50AM
Hi, 
for "tag" I mean add a Key-value to the stream object that rapresent the image.

Some example from using different libraries are:

PdfImage stream = new PdfImage(imagePicture, "", null);
stream.Put(new PdfName("some key"), new PdfName("some value"));

or 

image = section.AddImage("image path");
image.SetValue("some key", "some value");

Is there a simil API for "put" or "SetValue" in Debenu library?



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