Home
Info
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
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
Annotation block too large
New Topic
Reply to Topic
Author
Topic
graph_man
324 Posts
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
xequte
38128 Posts
Posted - Mar 10 2020 : 14:39:23
Hi
Please give me the steps to reproduce this.
Nigel
Xequte Software
www.imageen.com
graph_man
324 Posts
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
38128 Posts
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
324 Posts
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.
graph_man
324 Posts
Posted - Mar 11 2020 : 17:35:09
Is there another way to save image annotations to a file without size restrictions?
xequte
38128 Posts
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
324 Posts
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
38128 Posts
Posted - Mar 15 2020 : 05:27:10
No difference. They both use EXIF storage.
Nigel
Xequte Software
www.imageen.com
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page