Python script to convert any RAW (supported by rawpy) to JPEG
python raw2jpeg.py <Raw_Img>
RAW_Img can be .ARW, .DNG, .CR2
It just saves the thumbnail embedded.
but is a good enough solution if you only have a RAW
for more raw img experiments you can see the raw_viewer.ipynb
pip install rawpy