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
 ImageEn Version 8.1.2
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jwhite

8 Posts

Posted - Dec 20 2018 :  11:58:29  Show Profile  Reply
I am getting an Out Of Memory error when using either of the two methods below.

iemvDocument.MIO.SaveToStreamTIFF(FReportStream);

iemvDocument.MIO.SaveToStream(FReportStream, ioTIFF);


This method does not cause an error.

iemvDocument.MIO.SaveToStreamGIF(FReportStream);


Delphi Tokyo
ImageEn 8.1.2

Please advise. Thanks.

John

xequte

4649 Posts

Posted - Dec 21 2018 :  00:20:15  Show Profile  Reply
Hi John

I cannnot reproduce that. Can you give me more information or demo code?



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jwhite

8 Posts

Posted - Dec 26 2018 :  09:49:03  Show Profile  Reply
It's the DPI of the bitmap that is causing the issue. If I load the two attached images (https://tinyurl.com/y8k4ljwp) (600 DPI) into a TImageEnMView, then call iemvDocument.MIO.SaveToStreamTIFF(FReportStream); I get the error. The error does not happen on 300DPI images.
Go to Top of Page

xequte

4649 Posts

Posted - Dec 26 2018 :  21:20:39  Show Profile  Reply
Hi John

I'll need to investigate that when I am back in the office.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

4649 Posts

Posted - Jan 07 2019 :  20:22:13  Show Profile  Reply
Hi John

It works fine when I test it here.

Perhaps the system does not have sufficient memory for a 192MB stream?



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jwhite

8 Posts

Posted - Jan 08 2019 :  09:38:39  Show Profile  Reply
The system is a development system. The computer has 16GB of memory. I will try to create a simple example of the issue.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: