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
 I want to create a 2D array image table using ImageEn's Page and Layer.
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

superdev

20 Posts

Posted - Apr 10 2023 :  15:57:08  Show Profile  Reply
I want to create a two-dimensional array image table using Page and Layer of ImageEn. Is it possible? Ask for advice from the master.
What I want to do is customize A-Z, 1-9 character recognition.
(recognize multiple types of A images, recognize multiple types of B images)

* Each image size in the table may be different.
* How to save and load a 2D array image as a single file
* How to access each image in a 2D array.
* Create an ImageEnMView that is as large as the number of Pages for the image of the two-dimensional array
How to display layer images.

Is there any other good way??

xequte

38608 Posts

Posted - Apr 10 2023 :  17:16:45  Show Profile  Reply
Hi

Firstly, there are no formats in ImageEn that support a 2D array of images (or any common image formats outside of ImageEn either).

If by layers you mean ImageEn's TIEImageLayer class, then you could have an array of TImageEnViews that each contain layers, these could be saved to a single file by iterating through them and using ImageEnView[i].IO.SaveToStreamIEN() to append to a single stream.


To display in a TImageEnMView...

If the array is largely fixed:

Fill the TImageEnMView with each of the items in your array:

http://www.imageen.com/help/TImageEnMView.AppendImage.html

If the array changes often:

Enable virtual mode and retrieve each display image as needed:

http://www.imageen.com/help/TIEMultiBitmap.IsVirtual.html




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