Hi,

I am trying to write an image that has a y inverted buffer.

I tried this:
band->RasterIO(GF_Write, x, y, width, height, data + width * (height - 1) *
sizeof(short),
width, height, GDT_Int16, sizeof(short), -width * sizeof(short));

But I get a segfault in memcpy.

What am I doing wrong?

Thanks,
Leith Bade
[email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to