I would like to specify a NO_DATA_VALUE within a JPEG2000 file (I use the JP2KAK driver). When I call gdal_translate -of JP2KAK -co QUALITY=100 input.vrt ouptut.jp2 , I get an aux.xml file alongside, that holds the value of the nodata value (initially present at band level in the vrt) in some PAM fields.
I am aware that compression messes with nodata values, but I'm using a lossless quality, so it shouldn't be a problem.
I would like to have the jp2 file independent of any other files (in order to be able to send it from service to service without creating a bundle whatsoever).
Can gdal_translate help me in this matter?
[EDIT : gdal version 2.2]