goldengel / exiflibrary

Automatically exported from code.google.com/p/exiflibrary
MIT License
0 stars 0 forks source link

Cannot read large files #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1.  Download sample images here:  
http://www.geospatialexperts.com/sampledata.php
2.  Open file in ExifTest

Should see preview of image, instead get this error:

Exception of type 'System.OutOfMemoryException' was thrown.

In this loop:

for (int i = 0; i < fillerbytecount; i++)
   stream.WriteByte(0xFF);

Original issue reported on code.google.com by Mappe...@gmail.com on 9 Jun 2011 at 3:18

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed by r93.

Original comment by oozcitak on 22 Aug 2012 at 12:04