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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Annotation block too large

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
graph_man Posted - Mar 10 2020 : 11:36:14
I see this error message at inserting of image annotation with any size of image.

ps
Latest version of ImageEn
8   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 15 2020 : 05:27:10
No difference. They both use EXIF storage.

Nigel
Xequte Software
www.imageen.com
graph_man Posted - Mar 12 2020 : 15:40:16
> You need to switch annotation saving to a different method, i.e. use ImagingAnnot or save to an annotation file (IEV) instead of JPEG.

I save annotations to TIFF (not to JPEG).
Is there any difference?
xequte Posted - Mar 12 2020 : 15:08:11
Hi

That code has not changed in a long time, so it is not a new issue.

You need to switch annotation saving to a different method, i.e. use ImagingAnnot or save to an annotation file (IEV) instead of JPEG.

Also, if this is new code, use ImageEn layers rather than IEVect objects:

https://www.imageen.com/help/TImageEnVect%20vs%20TIELayers.html

(Though it won't affect this issue, which is due to a limitation in EXIF).

Nigel
Xequte Software
www.imageen.com
graph_man Posted - Mar 11 2020 : 17:35:09
Is there another way to save image annotations to a file without size restrictions?
graph_man Posted - Mar 11 2020 : 17:28:37
This problem appeared in one of the latest versions.
I used to be able to add image annotations without problems.
xequte Posted - Mar 11 2020 : 15:43:12
Hi

ImageEn annotations are saved to the EXIF meta data, which has a maximum total size of 65KB, so you need to keep your size below this.

Nigel
Xequte Software
www.imageen.com
graph_man Posted - Mar 10 2020 : 15:40:08
if (OpenImageEnDialog1->Execute())
{
ImageEnView1->SetObjBitmapFromFile(-1,OpenImageEnDialog1->FileName);

ImageEnView1->ObjWidth[-1] = ImageEnView1->ObjBitmap[-1]->Width;
ImageEnView1->ObjHeight[-1] = ImageEnView1->ObjBitmap[-1]->Height;

ImageEnView1->ShiftKeyLock = TIEShiftLock() << iessAlt_MaintainAR;

ImageEnView1->MouseInteractVt = ImageEnView1->MouseInteractVt << miPutBitmap;
}

ImageEnMView2->MIO->Params[SelectedImage]->ImageEnAnnot->CopyFromTImageEnVect(ImageEnView1);

ERROR

but if I use

ImageEnMView2->MIO->Params[SelectedImage]->ImagingAnnot->CopyFromTImageEnVect(ImageEnView1);

All is OK
xequte Posted - Mar 10 2020 : 14:39:23
Hi

Please give me the steps to reproduce this.



Nigel
Xequte Software
www.imageen.com