I'm close to to give up. No idear why the code does not read in the complete file if the file is largen than aproximate a few tens of pixels squarted.

boehoe