I am using the Sony Low-light image dataset from the paper Learning-to-see-in-the-Dark. I am trying to convert Raw image (bayer pattern in arw format) into a jpg/png. I used an online tool that gives a very dark jpg for a short exposure image and I have also used Python rawpy library to read and process the raw image. The resulting image from rawpy is shown below:
Rawpy gives a brightened image for a low-light image, which is not desired. I was expecting a dark rgb image. How can I get a dark rgb image in jpg format using rawpy?