Hello,<div><br></div><div><br></div><div>I have run into a strange issue that I haven't been able to sort out. I have a number of digital negative (.dng) files collected by an Aeryon Scout UAV. They are three band images with the bands being UInt16. However, when I read these images with the python gdal binding, they read as Byte bands and half resolution. When I use gdalinfo I get something like:</div>
<div><br></div><div><div>Driver: GTiff/GeoTIFF</div><div>Files: 2012-11-06-flight_005-012.dng</div><div>Size is 1296, 972</div><div>Coordinate System is `'</div><div>Metadata:</div><div> TIFFTAG_DATETIME=2012:11:06 16:24:42</div>
<div> TIFFTAG_SOFTWARE=Aeryon_Scout_DNG</div><div>Image Structure Metadata:</div><div> INTERLEAVE=PIXEL</div><div>Corner Coordinates:</div><div>Upper Left ( 0.0, 0.0)</div><div>Lower Left ( 0.0, 972.0)</div>
<div>Upper Right ( 1296.0, 0.0)</div><div>Lower Right ( 1296.0, 972.0)</div><div>Center ( 648.0, 486.0)</div><div>Band 1 Block=1296x2 Type=Byte, ColorInterp=Red</div><div>Band 2 Block=1296x2 Type=Byte, ColorInterp=Green</div>
<div>Band 3 Block=1296x2 Type=Byte, ColorInterp=Blue</div><div><br></div><div>In reality, the data are 2592X1944 and the bands are UInt16. I can read the files with ufraw and they read fine. Interestingly, Python Imaging Library (PIL) also reads them like gdal. </div>
<div><br></div><div>Running gdal 1.9.0 on a MBP with Snow Leopard </div><div><br></div><div>Would appreciate any thoughts folks might have.</div><div><br></div><div><br></div><div>Thanks,</div><div><br></div>-- <br>Scott Arko<br>
<br><br>
</div>