I'm trying to crop some old georeferenced cartography in order to have a continuous map (every map has its blank borders that overlaps).
Usign raster->extract->clipper and setting no value to -32768 as the original maps, I got the same message:
for band 1, destination nodata value has been clamped to 0, the original value being out of range.
the problem is all the blacks in the map are translated to nodata. If I set no data value to something greater than 255, it clamps to 255 and all the whites are hidden. Is there a way to fix that?
the commandline is like that:
gdalwarp -dstnodata -32768 -q -cutline "borders.shp" -crop_to_cutline -of GTiff "source.tif" "destination.tif"