Write Custom tag in tiff file

Feature Requests for GdPicture.NET.
Post Reply
Ezio
Posts: 16
Joined: Thu Apr 09, 2009 5:17 pm

Write Custom tag in tiff file

Post by Ezio » Wed Feb 02, 2011 3:07 pm

Hi,
I purchased version 6 of GDPicture SDK two years agoo , now i'm testing new release.

I need a function to write custom tag in tiff image. I must convert for DotNet enviroment an existing document capture application.
This application must save some information collected at scanning time as a string using a tiff Tag Hex value 8001.

Thank you for your attention, I'm waiting for a reply.

Ezio
Posts: 16
Joined: Thu Apr 09, 2009 5:17 pm

Re: Write Custom tag in tiff file

Post by Ezio » Thu Feb 03, 2011 5:39 pm

Please ignore my previus post.
I find solution to my problem simply casting integer tag value to (Tags) Enumeration type.

Example code i use to write "Hello world" in tag 33024.

int tifftag;
tifftag = 33024;
oGdPictureImaging.TagSetValueString(ImageID, (Tags)tifftag, TagType.TagTypeASCII, "Hello World");

Bye

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Write Custom tag in tiff file

Post by Loïc » Thu Feb 03, 2011 6:28 pm

Hi,

Thank you very much for sharing the information.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests