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
 Not enough storage is available to process this ..
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graph_man

328 Posts

Posted - Oct 10 2017 :  20:00:49  Show Profile  Reply
I see this error message at converting TIFF file (10MB) to black-and-white (ordered).
I have 634 GB of free disk space & 16 GB of Ram.

I can send this file for testing.

xequte

39142 Posts

Posted - Oct 11 2017 :  19:15:26  Show Profile  Reply
What code are you using?

Is it a multipage tiff?

https://www.imageen.com/help/TIEBitmap.Location.html
https://www.imageen.com/help/TIEMultiBitmap.ImageCacheSize.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

graph_man

328 Posts

Posted - Oct 13 2017 :  18:25:44  Show Profile  Reply
> Is it a multipage tiff?

One page

ImageEnView1->IEBitmap->Location = ieTBitmap (I need to edit this file)
ImageCacheSize = 1
Go to Top of Page

xequte

39142 Posts

Posted - Oct 14 2017 :  05:03:00  Show Profile  Reply
Hi

TBitmap is not good with large files. Are you able to do your editing using ImageEn's GDI+ features to avoid changing to TBitmap mode?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

graph_man

328 Posts

Posted - Oct 14 2017 :  07:10:30  Show Profile  Reply
What are ImageEn's GDI+ features?
Go to Top of Page

graph_man

328 Posts

Posted - Oct 14 2017 :  14:46:47  Show Profile  Reply
>ieFile - Uses memory mapped files. Canvas not available. Used for big images.

What actions with canvas aren't available?
Go to Top of Page

xequte

39142 Posts

Posted - Oct 15 2017 :  03:31:33  Show Profile  Reply
Hi

Sorry, I gave you bad information, even using GDI+, it will make use of the canvas, and so convert it to TBitmap mode.

What canvas activities are you performing?


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

graph_man

328 Posts

Posted - Oct 15 2017 :  05:10:53  Show Profile  Reply
1) I use Tcanvas
2) What actions with canvas aren't available?
Go to Top of Page

xequte

39142 Posts

Posted - Oct 16 2017 :  01:22:29  Show Profile  Reply
Hi

Any action on the Canvas to IECanvas will convert the location to ieTBitmap.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

graph_man

328 Posts

Posted - Oct 16 2017 :  03:54:00  Show Profile  Reply
So I can use
ImageEnView1.IEBitmap.Location := ieFile;
in any case?
Go to Top of Page

xequte

39142 Posts

Posted - Oct 16 2017 :  21:27:09  Show Profile  Reply
Yes, you can use it as long as you do not access the canvas.



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