Page 1 of 1

DNG to JPG using ImageMagick

Posted: 2012-02-21T09:51:15-07:00
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ā€¦?