platimg addons aims at using native os graphic library, quartz in mac,
gdiplus in window, there is no native graphic library for linux, but gtk+
is widely used enough. Also it use cd calls to dll/shared library.
Therefore I don't think platimg is a suitable host for dcraw, but may be
as a new addon.

Втр, 01 Фев 2011, greg heil писал(а):
> 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

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to