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
 LoadImage issue with IEvolution

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
cbc70037 Posted - Jun 27 2021 : 16:42:23
I am still having some trouble with the stream version of IEImage.LoadImage. Oddly, I'm seeing the app simply self-terminate if it employs LoadImage with streams. I've created a zipped project to demonstrate the issue. It seems the forum does not like my zip. It can be downloaded from:

http://www.bitworks2000.com/temp/Testbug.zip

Within that zip there is a Word document explaining a few points. Thanks.

-C
4   L A T E S T    R E P L I E S    (Newest First)
cbc70037 Posted - Jul 01 2021 : 00:46:11
That addressed it -- working quite well now. Thanks very much for that input. Even though the constructor mentions this, I incorrectly assumed that in the case of appending to IEMulti, one should not deallocate it. All good. Thanks.


-C
xequte Posted - Jun 29 2021 : 05:23:34
Hi

In the demo, the IEImage object created in LoadThumbnails is not disposed. It is necessary when creating IEImage objects:

        public void LoadThumbnails(string[] files)
        {
            this.files = files;

            iem.ImageList.Clear();
            foreach (string file in this.files)
            {
                byte[] fileContent = File.ReadAllBytes(file);
                var ms = new MemoryStream(fileContent);
                IEImage image = new IEImage();
                image.LoadImage(ms, IEFileFormats.JPEG);
                iem.ImageList.AppendImage(image);
                image.Dispose();                                     // <<<<< add this
                ms.Dispose();
            }



Nigel
Xequte Software
www.imageen.com
cbc70037 Posted - Jun 28 2021 : 01:46:35
Yes. In fact, the Assemblies subfolder in the project has the referenced IEvolution modules. Thanks.

-C


-C
xequte Posted - Jun 28 2021 : 01:28:32
Hi

Is this in the latest version, v10.0.0?


Nigel
Xequte Software
www.imageen.com