Wang/Kodak annotation

Feature Requests for GdPicture.NET.
Post Reply
Steve
Posts: 5
Joined: Mon Nov 05, 2007 10:42 pm

Wang/Kodak annotation

Post by Steve » Tue Nov 06, 2007 11:09 am

Is it possible to view the Wang/Kodak TIFF annotations in images scanned in by the Imaging for Windows software?

This uses tag ID 32932.

Annotations include Attach-a-Note and Text Stamp.

Imaging for Windows was included in Microsoft Windows up to and including Windows 2000.

I can send more details if required.

Steve

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

Post by Loïc » Thu Nov 08, 2007 11:36 am

Hi Steve,

Into the next release it will be possible to get & set the Wang annotations.

I will post an example of utilization here.

Regards,

Loïc
Last edited by Loïc on Tue Nov 13, 2007 6:53 pm, edited 1 time in total.

Steve
Posts: 5
Joined: Mon Nov 05, 2007 10:42 pm

Post by Steve » Sat Nov 10, 2007 1:11 pm

Thanks Loïc,

Do you know when the new release will be available ?

Steve

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

Post by Loïc » Tue Nov 13, 2007 6:53 pm

Hi Steve,

The last release is available.

To get the Wang Annotations into a bytes array:

Code: Select all

Dim arTagWangAnnotations() As Byte
Dim nCpt As Long

For nCpt = 1 To Imaging1.ExifTagCount
    If Imaging1.ExifTagGetID(nCpt) = TagWangAnnotations Then
       Call Imaging1.ExifTagGetValueBytes(nCpt, arTagWangAnnotations)
       Exit For
    End If
Next nCpt

And to write the Wang Annotations from an array of bytes:

Code: Select all

Call imaging1.ExifTagSetValueBytes(TagWangAnnotations,TagTypeByte,arTagWangAnnotations)

Regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests