Trying to compare with gdal info on both images, nothing seems been different but when trying preview images on QGIS with same band settings value, the image seems to be altered.
Command use for that :
gdal_translate input.tif output.tif -of COG -co BLOCKSIZE=512 -co RESAMPLING=BILINEAR -co COMPRESS=DEFLATE -co NUM-THREADS=25 -co BIGTIFF=YES
Tested on GDAL 3.2.2 Linux OS package and also with Docker images Alpine with GDAL 3.3.2 Any idea why my image is not just optimized but altered ?
RESAMPLING=BILINEAR
. What if you NEAREST instead?