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
 ImageEn Version 8.1.2

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

Size 
UserName:
Password:
Mode 
Format  BoldItalicizedUnderline Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailBrowse for an image to attach to your post Browse for a zip to attach to your post Insert CodeInsert QuoteInsert List
   
Message 

 

Smilies
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
jwhite Posted - Dec 20 2018 : 11:58:29
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
5   L A T E S T    R E P L I E S    (Newest First)
jwhite Posted - Jan 08 2019 : 09:38:39
The system is a development system. The computer has 16GB of memory. I will try to create a simple example of the issue.
xequte Posted - Jan 07 2019 : 20:22:13
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
xequte Posted - Dec 26 2018 : 21:20:39
Hi John

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



Nigel
Xequte Software
www.imageen.com
jwhite Posted - Dec 26 2018 : 09:49:03
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.
xequte Posted - Dec 21 2018 : 00:20:15
Hi John

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



Nigel
Xequte Software
www.imageen.com