Re: Latest IM ignores delegates?
Posted: 2018-02-09T16:06:41-07:00
Are you asking me, Fred? I don't know, I'm just going by Magick's announcement I linked above, and the latest source code in coders\dng.c.
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=33491
How did you convert it? With "magick" or "magick convert" I get a nice colored image, but too small; 160x120 while the original file is 5472x3648.fmw42 wrote: ↑2018-02-09T13:27:49-07:00 If I convert the DNG to JPG and open both in Photoshop, they both look almost the same. The JPG is slightly darker, but not by much. There is no extra yellow cast to the JPG in comparing to the DNG. It might be simply a difference in brightness adjustment in the DNG when opened in PS from the DNG meta data. ImageMagick via ufraw delegate may not be handling that meta data exactly the same.
With "magick mogrify", however, I get the yellow cast. Don't you? May it be a windows issue?>magick Img_0851.dng IMG_0851.jpeg
magick: Unknown field with tag 50970 (0xc71a) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/994.
magick: Incorrect count for "DNGPrivateData"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/994.
magick: Unknown field with tag 34864 (0x8830) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/994.
magick: Unknown field with tag 34865 (0x8831) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/994.
magick: Unknown field with tag 50970 (0xc71a) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/994.
magick: Incorrect count for "DNGPrivateData"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/994.
>dir img_0851.*
05/12/2017 04:11 19.420.975 IMG_0851.DNG
10/02/2018 02:06 3.656 IMG_0851.jpeg
Code: Select all
magick DNG:IMG_0851.DNG IMG_0851.JPG
Code: Select all
magick identify -verbose IMG_0851.JPG
Image: IMG_0851.JPG
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 5488x3664+0+0
Units: Undefined
Colorspace: sRGB
Type: TrueColor
Base type: Undefined
Endianess: Undefined
Depth: 8-bit
Channel depth:
Red: 8-bit
Green: 8-bit
Blue: 8-bit
That is almost certainly from a JPEG embedded in the DNG file, not a de-Bayering etc of the raw image.ravengangrel wrote:... I get a nice colored image, but too small; 160x120 while the original file is 5472x3648.
Yeah, that was my guess some messages ago.
My guess is that IM isn't recognising your DNG as a DNG, but thinks it is a TIFF. What is the output from "-verbose"? In addition, "-debug all" may say if IM is trying to use an internal or external delegate.ravengangrel wrote:1) Is there some way to make IM use the full image, instead of the embedded thumbnail?
With an external delegate, eg dcraw, we can change the command used in delegates.xml. I would hope we have similar flexibility with libraw, but I fear we don't.ravengangrel wrote:2) Is there some way to change the white balance used by mogrify, short of recompiling without libraw?
See my pages, especially Compiling IM with Cygwin. Once Cygwin is installed and IM source is downloaded, it is just 5 commands.ravengangrel wrote:3) Is there some kind of guide to windows compilation?