DNG to JPG using ImageMagick

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
intpony
Posts: 1
Joined: 2012-02-21T09:47:24-07:00
Authentication code: 8675308

DNG to JPG using ImageMagick

Post by intpony »

ImageMagick 6.6.0-4

I have a DNG file with EXIF and IPTC data. I've also adjusted the color correction in the DNG file. And now I want to convert the DNG to JPG. I've tried following command:

Code: Select all

<?php
$filename = 'target/'.time().'.jpg';
shell_exec('convert dng:source/Testdatei_JAPO_20111220_8415testtest2.dng -resize 1024x1024 '.$filename.'');
?>
ImageMagick converts the file to JPG, but it doesn't use my custom color correction settings of the DNG, instead ImageMagick uses the standard/original DNG color information… what can I do about this issue?

And the second issue: ImageMagick deletes some IPTC information in the converted JPG file…?
Post Reply