I found there is an option WRITE_BOTTOMUP available for gdal_translate , Looking for alternative in C++
On Fri, Nov 1, 2019 at 11:24 AM Dshah <divxtam...@gmail.com> wrote: > @Mateusz thanks for the answer, so it is set by GDAL to open data flipped? > > On Fri, Nov 1, 2019 at 9:33 AM Mateusz Loskot <mate...@loskot.net> wrote: > >> On Fri, 1 Nov 2019, 07:10 Dshah, <divxtam...@gmail.com> wrote: >> >>> Greetings, >>> >>> When I GDALOpen a .tif image and write a new one, the new image is >>> flipped upside down? could someone please help? >>> >>> const char *pszFilename = "im.tif"; >>> poDataset = (GDALDataset *)GDALOpen(pszFilename, GA_ReadOnly); >>> >> >> >> Write it down siden up, perhaps. >> >> Mateusz Loskot, mate...@loskot.net >> (Sent from mobile, may suffer from top-posting) >> >> p.s. Crystal sphere temporarily broken >> _______________________________________________ >> gdal-dev mailing list >> gdal-dev@lists.osgeo.org >> https://lists.osgeo.org/mailman/listinfo/gdal-dev > >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev