DNG to JPG Image Converter
Version 1.0.0.0 (1.74 KB) by
Jonathan Lin
Converts DNG image files into JPGs without post-processing
Converts DNG files into JPG files minus post-processing like white balancing. Based off code found in Processing RAW Images in MATLAB by Rob Sumner (May 19, 2014) which can be found here: https://rcsumner.net/raw_guide/RAWguide.pdf
Notes:
Adjust the black and saturation values in the linearizing section according to your camera, using dcraw to determine those values.
Change color matrix values as needed, along with RGB2XYZ matrix.
Cite As
Jonathan Lin (2026). DNG to JPG Image Converter (https://www.mathworks.com/matlabcentral/fileexchange/63629-dng-to-jpg-image-converter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Images > Convert Image Type >
Find more on Convert Image Type in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
