Yes, I got the source from http://www.cybercom.net/~dcoffin/dcraw/dcraw.c
Here are X64 and X86 versions of DCRAW.EXE . The only changes were to add the windows-specific include and define lines. As usual, no guarantees, etc. I did minimal testing on Win7_64 and WinXP_32. http://rochesterincolor.com/Documents/dcraw.zip On 2/1/2011 15:44, greg heil wrote: > DC can be captalised as it the initials of the, continuining, author > Dave Coffin. > > http://en.wikipedia.org/wiki/Dcraw > > Where did you get the file from? The definitive (?) place is > > http://www.cybercom.net/~dcoffin/dcraw/ > > It provides no UI, only file IO, as a good unix citizen ... and is > therefore supported by all platforms. When it is compiled a available > to a platform with a good UI it is perhaps superior to even the > various camera manufacturers proprietary converters, and certainly > more permanent and encompasing. > > Computational photography (http://u.tgu.ca/levoy+cam2) can be obtained > in J ... with an IO to sources and a UI to the user. > > my primary concern now is with the N900 which has a Maemo OS, a Linux > type. As the only available Frankencamera > (http://u.tgu.ca/Frankencamera_lite) it is a major step for the > computational photography community. Is it possible to put J on the > N900? > > Can DCraw be added in the media/platimg addon ? > > greg > ~krsnadas.org > > -- > > from Tikkanz<[email protected]> > to Programming forum<[email protected]> > date 1 February 2011 11:37 > subject Re: [Jprogramming] Fractals Visualization and J > > The media/platimg addon (available on J6 but not yet J7) provides > native platform support for reading and writing many common image > formats (not raw though). > > -- > > from David Mitchell<[email protected]> > to Programming forum<[email protected]> > date 1 February 2011 11:28 > subject Re: [Jprogramming] Fractals Visualization and J > > I could not find a DCRaw library. > > I found dcraw.c and compiled it: > > C:\Users\me\Downloads\dcraw>cl dcraw.c /DNO_JPEG /DNO_LCMS /O2b2 /Gry > > Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 > Copyright (C) Microsoft Corporation. All rights reserved. > > dcraw.c(360) : warning C4133: 'function' : incompatible types - from 'UshORt > *' > to 'char *' > dcraw.c(360) : warning C4133: 'function' : incompatible types - from 'UshORt > *' > to 'char *' > dcraw.c(8607) : warning C4133: 'function' : incompatible types - from 'UshORt > *' > to 'char *' > dcraw.c(8607) : warning C4133: 'function' : incompatible types - from 'UshORt > *' > to 'char *' > Microsoft (R) Incremental Linker Version 10.00.30319.01 > Copyright (C) Microsoft Corporation. All rights reserved. > > /out:dcraw.exe > dcraw.obj > > I put in in my path and ran it from J7: > > f=:'Z:\My Pictures\2011\2011 01 29\_MG_1078.CR2' > spawn_jtask_ 'dcraw -6 -T -o 3 -w -v "',f,'"' > Loading Canon EOS DIGITAL REBEL XT image from Z:\My Pictures\2011\2011 01 > 29\_MG_1078.CR2 ... > Scaling with darkness 257, saturation 4095, and > multipliers 2.351670 1.000000 1.350688 1.001965 > AHD interpolation... > Converting to WideGamut D65 colorspace... > Writing data to Z:\My Pictures\2011\2011 01 29\_MG_1078.tiff ... > > It seems to work fine this way, but it does not seem to provide general image > support, only raw image conversion. > > -- > > from greg heil<[email protected]> > to Programming forum<[email protected]> > date 31 January 2011 20:58 > subject Re: [Jprogramming] Fractals Visualization and J > > Perhaps an interface to the DCRaw library would be MUCH more useful as > a general tool.. > > greg > ~krsnadas.org > > -- > > from Devon McCormick<[email protected]> > to Programming forum<[email protected]> > date 31 January 2011 18:58 > subject Re: [Jprogramming] Fractals Visualization and J > > I think reading and writing images are all I use from image3, so this > may be sufficient for my purposes. I'll have to try some conversions > to see if this is the case. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
