Re: [CinePaint] NEF (Nikon raw) to TIFF, then cinepaint, jpg result.
Rob Lingelbach <[email protected]>
| Newsgroups | gmane.comp.video.cinepaint.user |
|---|---|
| Message-ID | <[email protected]> |
On Mar 16, 2008, at 3:03 AM, Robin Rowe wrote:
>
> That's great! Can you post here what steps you took so others could
> repeat it?
>
certainly. this is from Frank Peters.
the script:
---begin script to convert Nikon NEF (camera raw) to a .tiff that
cinepaint can work with. Requires netpbm tools. ---
#! /bin/bash
# accepts two arguments: NEF file, H value
# Converts to Adobe1998 working space for input to cinepaint
# adapted from Frank Peters' script - using pnmtotiff instead of
pamtotiff
fnef=`basename $1`
dcraw -v -w -c -4 -q 3 -o 0 -H $2 $1 | pnmgamma 2.2 | pnmtotiff -none -
truecolor
> file.tif
tifficc -v -e -n -c 2 -t 0 -w -i Nikon_D70.icm -o NKsRGB.icm file.tif $
{fnef%nef
}.tif
rm file.tif
--- end script----
~then the resulting .tif file is opened in cinepaint. Note that
these arguments to dcraw and tifficc are based on Frank's experience;
they work well for me. The .icm files of course must be present and I
believe are available on the net.
> We are the public. We're an open source project. Everything we do here
> is free and to the public. If I'm to post your files, they must be
> open
> source licensed, preferably BSD.
let me explain then. The subject of the photo is a friend of mine
with whom I haven't yet been able to obtain permission to use the
image, as she hasn't yet resonded to email on this subject. I was
only concerned that since I didn't obtain permission to post her image
publicly, that this might cause problems. But since her identity is
not known, and the image is mine, I now think these can be licensed as
open source, BSD is fine. Please advise if you think I might run into
problems with this. Apologies for the labyrinthine nature of this
process.
--
Rob Lingelbach
[email protected] http://www.colorist.org/robhome.html
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/