Add new comment

DNG conversion issue

I am using LibRaw together with the rawPy wrapper ( to read in DNG files into Python. Unfortunately the input image does not seem to be correctly read in.

The code I use is:

import rawpy
import imageio

newFile = 'GOPR0079.DNG'

with rawpy.imread(newFile) as raw:
rgb = raw.postprocess(demosaic_algorithm=None,output_color = rawpy.ColorSpace.raw)


The input and output files can be accessed here: