I encounter some weird problem when creating tiles from GeoTIFF.
Context: I am generating small tiles from a large GeoTIFF image. The B and R band were swapped so I had to do a gdal_translate to swap the band into the correct order for generating PNG tiles from this GeoTIFF. Since I need the georeferencing, I first created a set of smaller GeoTIFF tiles from the large GeoTIFF tiles before converting these smaller GeoTIFF tiles into PNG with worldfiles.
When I try to look at the PNG files, it gave me some weird looking picture. Looking at it, seems like the band is missing or overly saturated to white.
Geo TIFF generated from gdal, loading in QGIS and also view in preview on Mac. All seems fine.
What can I try?