T O P I C R E V I E W |
izaque |
Posted - Feb 23 2012 : 05:03:33 Hello, I'm trying to read TIFF files 104 with 400Kb each, with the following code: iPosicao: = iemvThumb.AppendImage; iemvThumb.SetImageFromFile (iPosicao, sArquivoDestino); When iPosicao is = 68 an error occurs in "Out of Memory" in the line of the method SetImageFromFile. I'm using version 3.1.2, Delphi 7, Windows 7 64 bit, at the time the error occurs have more than 2 GB of Memory available. What should I do?

Please rename the file extension for TIFF. Sorry for the English, PT.BR. |
8 L A T E S T R E P L I E S (Newest First) |
fab |
Posted - Feb 23 2012 : 13:47:00 Sorry, I don't understand very well the question. You call LoadFromFileTIFF, so you can avoid TIFFs. Also, current version hasn't the Out Of Memory problem. |
izaque |
Posted - Feb 23 2012 : 13:38:44 Hi Fabrizio, could circumvent the problem of "out of memory" using TImageEnMView.MIO.LoadFromFileTIFF who read specific files with the extension. Tiff, and also using BeginSelectImages and EndSelectImages. Thanks. |
izaque |
Posted - Feb 23 2012 : 11:45:42 Ok, Thanks! |
fab |
Posted - Feb 23 2012 : 11:20:53 Yes, even with 400KB file. It is not important the buffer size, but where the operating system allocates it (if pointer_pos > 0x80000000). |
izaque |
Posted - Feb 23 2012 : 11:09:56 Even in a 400KB file with? ImageEn Version 3.1.2. It has some code to work around this problem? |
fab |
Posted - Feb 23 2012 : 10:55:43 I cannot replicate this problem using last version. I tested your image with Delphi 7 and Windows 7 - 64 bit. Old ImageEn versions had problems handling pointers with locations >2GB. |
izaque |
Posted - Feb 23 2012 : 10:41:16 I think that I could not post the file, how do I? |
fab |
Posted - Feb 23 2012 : 10:26:20 Hello, please post the file (and please open a single topic for the same question). |