Hello,
I am aware that JPEG2000 is not the most ideal format for images if one wants to preserve quality but I don't have a choice of other formats in the external files I have to work with.
Anyway, I would like to clip these external JPEG2000 files using clipper polygons and save the output as JPEG2000. At the same time I would like to avoid a change in the original-to-clipped raster pixel values unless they are on edges of the clipper polygons. So, I have set the compression in writer to 0 but still, for some reasons, the clipped raster values are quite different to the original raster values. Would I be correct in thinking that given the choice of image output format, it may not be possible to preserve original raster values? Any ideas please..
Thanks,
S.