ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Read TIFF annotations from Kodak software
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

rlange

Germany
26 Posts

Posted - Feb 12 2016 :  06:17:14  Show Profile  Reply
Hello!

Before we upgraded to ImageEN, we used Kodak imaging components.
When i create TIFF annotations with these components, i cannot open them with ImageEN.

Is there a way to convert these annotations or access them?

There are 2 files within the attached zip file:
test1.tif - 1 page TIFF file with no annotations
test1_with_note.tif - The same file including one annotation by Kodak components

attach/rlange/201621261148_files.zip
6989.18 KB

Thank you in advance.
Reiner

rlange

Germany
26 Posts

Posted - Feb 15 2016 :  02:05:39  Show Profile  Reply
Note:
The picture viewer from Windows XP shows the annotation from file "test1_with_note.tif". Under Windows 7 it is not displayed.
Go to Top of Page

xequte

38610 Posts

Posted - Feb 17 2016 :  18:58:21  Show Profile  Reply
Hi Reiner

These annotations seem to work fine in ImageEn:


  imageenview1.IO.Params.ImagingAnnot.CopyToTImageEnVect();




Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

rlange

Germany
26 Posts

Posted - Feb 18 2016 :  01:32:14  Show Profile  Reply
Hello Nigel,
thank you very much.
Until now, i have been thinking that these annotations are objects.

For example when i insert an object i use the following code:
iev1.MouseInteractVt:=[miPutBox];
iev1.Cursor:=C_CURSOR;
s:=propTextmarker;
iev1.ObjBrushColor[hobj]:=HexToInt(nextStr(s,'|'));
iev1.ObjBrushStyle[hobj]:=bsSolid;
iev1.ObjBoxHighlight[hobj]:=true;
iev1.ObjTransparency[hobj]:=255;
iev1.ObjName[hobj]:=AnsiString(IntToStr(Ord(dm_textmarker)));

That means that objects and imaging annotations are two different features?
Does your code copy the imaging annotations to objects?
imageenview1.IO.Params.ImagingAnnot.CopyToTImageEnVect();

Thank you again, this is really a helpful feature.
Reiner
Go to Top of Page

xequte

38610 Posts

Posted - Feb 18 2016 :  13:47:38  Show Profile  Reply
Hi Reiner

Yes, the annotations are converted into Objects. You can add your changes back to the image using:

imageenview1.IO.Params.ImagingAnnot.CopyFromTImageEnVect();


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: