Excuse me in advance if this is a FAQ, yet search returns nothing of this sort... So, given are:
WinXP SP3
IM-6.7.0-Q16-dll
raw images from a scanner saved in DNG format by, as far as I know, VueScan 9.something
convert dng:01.dng 01.tif
returns the following error: "Cannot use camera white balance"
The output TIFF file is created but is nearly black; only a keen eye may see that some shapes are present nevertheless, next to black at where it should be hightlights.
Some googling reveals that camera white balance is not stored in DNG. (Is it really so? I think experts may examine the format specification better than a user.) Yet there are some viewers that do open the files more or less correctly, two of them may be mentioned - FastStone and IrfanView. (Unfortunately, none of them can save in 48-bit TIFF.) Apparently they either read the white balance from the file correctly, or do use some presets by default. Why not IM?
Second, if the balance setting is really missing, then there should be an IM option to set it manually, shouldn't it?
DNG conversion
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: DNG conversion
It might help others to test and the IM developers, if you post a link to your DNG file.
Re: DNG conversion
Hmm... no available FTP at hand. Excuse my ignorance, how to attach binaries to posts at this board? In my profile I see the option "Manage my attachments" yet no option to make them.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: DNG conversion
i_v wrote:Hmm... no available FTP at hand. Excuse my ignorance, how to attach binaries to posts at this board? In my profile I see the option "Manage my attachments" yet no option to make them.
You cannot post images directly to this forum. Post them to some free image hosting service (google for them) and then put a link here to where you have hosted your image.
Re: DNG conversion
I am having the same problem. I can not convert .dng files to anything.
Error:
[oracle@ecmdev0002 bin]$ ./convert /app/ecm/IMTest/frog.dng /app/ecm/IMTest/converted/frog.jpg
sh: ufraw-batch: command not found
convert: delegate failed `"ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"' @ error/delegate.c/InvokeDelegate/1058.
convert: unable to open image `/tmp/magick-UKmbf2GY.ppm': No such file or directory @ error/blob.c/OpenBlob/2589.
convert: missing an image filename `/app/ecm/IMTest/converted/frog.jpg' @ error/convert.c/ConvertImageCommand/3016.
[oracle@ecmdev0002 bin]$
Can someone help me? I saw a post that said to edit the delegates.xml but what do I change it to?
dng file reads:
<delegate decode="dng:decode" command=""ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"" />
Error:
[oracle@ecmdev0002 bin]$ ./convert /app/ecm/IMTest/frog.dng /app/ecm/IMTest/converted/frog.jpg
sh: ufraw-batch: command not found
convert: delegate failed `"ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"' @ error/delegate.c/InvokeDelegate/1058.
convert: unable to open image `/tmp/magick-UKmbf2GY.ppm': No such file or directory @ error/blob.c/OpenBlob/2589.
convert: missing an image filename `/app/ecm/IMTest/converted/frog.jpg' @ error/convert.c/ConvertImageCommand/3016.
[oracle@ecmdev0002 bin]$
Can someone help me? I saw a post that said to edit the delegates.xml but what do I change it to?
dng file reads:
<delegate decode="dng:decode" command=""ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"" />
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: DNG conversion
I am no expert on DNG files, but it would appear that you are missing the ufraw delegate library. However, I will defer to someone more knowledgeable than I on this matter.sh: ufraw-batch: command not found
If I am right then either you need to install the delegate library and recompile IM or IM cannot find the delegate library.
The usual way to confirm is
convert -list configure
then look to see if ufraw or something related is listed in the line DELEGATES.
It might help also to know what version of IM you are using, whether it was installed from binary or source and what platform you are on.