<div dir="ltr">Hi,<div><br></div><div>I'm creating a memory raster using the following code:</div><div><br></div><div><div>std::string makeColor()</div><div>{</div><div> // Red is specified. Green and blue are 0.</div><div> static uint8_t rgb[12] = { 1, 2, 3, 4 };</div><div><br></div><div> std::ostringstream ss;</div><div> ss << "MEM:::PIXELS=4,LINES=1,BANDS=3,DATAPOINTER=" << &rgb;</div><div> return ss.str();</div><div>}</div><div><br></div><div>I read the three bands in succession. This works fine on OSX/Linux, but fails when attempting to read the second band on Windows. Any thoughts on what might be the issue?</div><div><br></div><div>Thanks,</div><div><br></div>-- <br><div class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</div></div>