SHA256
1
0
forked from pool/dcraw
OBS User unknown 2007-04-25 06:00:29 +00:00 committed by Git OBS Bridge
parent 1d6a2f5283
commit 48c91284b3
7 changed files with 638 additions and 486 deletions

420
README
View File

@ -43,6 +43,14 @@ http://www.cybercom.net/~dcoffin/dcraw/:
I can be reached by sending e-mail to cybercom dot net with the
username "dcoffin".
News and Interviews
[8]Essay for Digital Outback Photo, 25 April 2003
[9]Article in News.com, 21 April 2005
[10]Interview with Digital Photography Review, 27 April 2005
[11]Interview with Thorsten Schnebeck, 10 June 2006
[12]Interview with Ladinamo, 16 June 2006
My Code
Unless otherwise noted in the source code, these programs are free for
@ -54,59 +62,60 @@ http://www.cybercom.net/~dcoffin/dcraw/:
"fuji_green", "fujiturn", and "fujiturn16". My shell scripts are
dangerous and should only be installed in a "doc" directory without
execute permission.
* [8]dcraw.c -- decodes raw photos, extracts thumbnails, and displays
metadata
Supports 241 cameras at last count. Compile with "gcc -o dcraw -O4
* [13]dcraw.c -- decodes raw photos, extracts thumbnails, and
displays metadata
Supports 250 cameras at last count. Compile with "gcc -o dcraw -O4
dcraw.c -lm -ljpeg -llcms" or "gcc -o dcraw -O4 dcraw.c -lm
-DNO_JPEG -DNO_LCMS". Run with no arguments to see a usage message.
Don't complain that 16-bit output is too dark -- read the FAQ!
* [9]UNIX manpage for dcraw
* [14]UNIX manpage for dcraw
This is dcraw's official user documentation, updated in lockstep
with the source code.
* [10]rawphoto.c -- basic plugin for GIMP 1.2 & 2.0
* [15]rawphoto.c -- basic plugin for GIMP 1.2 & 2.0
After installing "dcraw", do "gimptool --install rawphoto.c". My
plugin provides a simple dialog box for loading raw files into the
Gimp. [11]Udi Fuchs and [12]Joseph Heled have written much nicer
Gimp. [16]Udi Fuchs and [17]Joseph Heled have written much nicer
plugins, with live preview, histograms, and color curves.
* [13].badpixels -- my camera's "hot pixels"
* [18].badpixels -- my camera's "hot pixels"
This file tells dcraw which pixels have died and when, so that it
can interpolate around them.
* [14]dcraw.c,v -- complete unabridged RCS file
* [19]dcraw.c,v -- complete unabridged RCS file
This file contains the entire history of dcraw.c since its
conception on February 23, 1997. If you don't have the RCS toolkit,
[15]download it here.
* [16]parse.c -- read image data structures
[20]download it here.
* [21]parse.c -- read image data structures
This program displays CIFF and TIFF data structures in a very
cryptic format.
* [17]clean_crw.c -- clean Canon CRW files
* [22]clean_crw.c -- clean Canon CRW files
Recovered or undeleted CRW files often have junk appended to them
that makes them unreadable. This program safely cleans CRW files.
* [18]fujiturn.c -- rotate Fuji Super CCD images
* [23]fujiturn.c -- rotate Fuji Super CCD images
An alternative to dcraw's built-in Fuji rotation.
* [19]fuji_green.c -- convert Fuji green pixels to PGM
* [24]fuji_green.c -- convert Fuji green pixels to PGM
A side benefit of the Fuji Super CCD design is that its green
pixels make nice greyscale images.
For hackers only:
* [20]decompress.c is a simple reference decompressor for CRW files.
* [21]sony_clear.c decrypts SRF files from the Sony DSC-F828.
* [25]decompress.c is a simple reference decompressor for CRW files.
* [26]sony_clear.c decrypts SRF files from the Sony DSC-F828.
Internationalization
To install dcraw with support for non-English languages, download the
latest tarball [22]from this directory and run the "install" script.
latest tarball [27]from this directory and run the "install" script.
The currently supported languages are Esperanto, Russian, French,
Italian, German, Portuguese, Spanish, and Chinese (both Traditional and
Simplified).
To add another language, you must translate the manpage to "dcraw_xx.1"
and the message table to "dcraw_xx.po", where "xx" is the two-letter
ISO language code. Translate only from my original English and
Esperanto texts -- other languages may contain factual errors invisible
to me.
ISO language code. Use UTF-8 encoding. Translate only from my original
English and Esperanto texts -- other languages may contain factual
errors invisible to me.
There is no "dcraw_en.po" file for English messages. To see why, look
inside the other .po files.
There is no "dcraw_en.po" file for English messages. Create your
message table from [28]dcraw_eo.po, which always matches the latest
version of dcraw.
Do not translate "Cannot do X" as "It is impossible to do X". Dcraw is
not perfect, so if it cannot do something, that does not mean that the
@ -132,88 +141,94 @@ http://www.cybercom.net/~dcoffin/dcraw/:
digital cameras in their applications. They can call dcraw from a
graphical interface, paste pieces of dcraw.c into their code, or just
use dcraw.c as the documentation that camera makers refuse to provide:
* [23]ACDSee
* [24]Adobe Photoshop
* [25]BR's PhotoArchiver by Baard Riiber
* [26]BreezeBrowser by Chris Breeze
* [27]Conceiva Lightbox
* [28]cPicture by Juergen Eidt
* [29]Cumulus by Canto
* [30]dcRAW-X by Bryan Chang
* [31]DCRawUI by Sune Trudslev
* [32]Directory Opus Plugin by Leo Davidson(with C++ source code)
* [33]DeepSkyStacker by Luc Coiffier
* [34]dpMagic by Mikhail Stolpner
* [35]EasyRaw Studio
* [36]GraphicConverter by Thorsten Lemke
* [37]GVBox from JCO Consulting
* [38]ImageLab from Aragon System
* [39]IrfanView by Irfan Skiljan
* [40]IRIS image processor for astronomers
* [41]KA Photoservice
* [42]Lightbox by Josh Anon
* [43]LightZone by Anton Kast
* [44]Mixpo by Mixpo Portfolio Broadcasting Inc.
* [45]Photo Companion by Jeff Moore
* [46]Photo Jockey by Davie Lee Reed who also wrote a [47]dcraw
* [29]ACDSee
* [30]Adobe Photoshop
* [31]BR's PhotoArchiver by Baard Riiber
* [32]BreezeBrowser by Chris Breeze
* [33]Conceiva Lightbox
* [34]cPicture by Juergen Eidt
* [35]Cumulus by Canto
* [36]dcRAW-X by Bryan Chang
* [37]DCRawUI by Sune Trudslev
* [38]Directory Opus Plugin by Leo Davidson(with C++ source code)
* [39]DeepSkyStacker by Luc Coiffier
* [40]dpMagic by Mikhail Stolpner
* [41]EasyRaw Studio
* [42]GraphicConverter by Thorsten Lemke
* [43]GVBox from JCO Consulting
* [44]ImageLab from Aragon System
* [45]IrfanView by Irfan Skiljan
* [46]IRIS image processor for astronomers
* [47]KA Photoservice
* [48]Lightbox by Josh Anon
* [49]LightZone by Anton Kast
* [50]Mixpo by Mixpo Portfolio Broadcasting Inc.
* [51]Photo Companion by Jeff Moore
* [52]Photo Jockey by Davie Lee Reed who also wrote a [53]dcraw
interface for Delphi programmers.
* [48]Photo Organizer by Balint Kis
* [49]PhotoReviewer by Ben Haller
* [50]Picasa from Google
* [51]Picture Arena by Felix Schwarz
* [52]PixInsight by Pleiades Software
* [53]PiXPO by PiXPO Inc.
* [54]PolyView by Polybytes
* [55]PowerShovel-II by Luc Minnebo
* [56]RAW Developer by Iridient Digital
* [57]Raw Magick
* [58]RawConvert by Jason Swain
* [59]RawDrop by Frank Siegert
* [60]RawShooter from pixmantec
* [61]RawView by Jari Savolainen
* [62]Serif PhotoPlus, PanoramaPlus, and AlbumPlus
* [63]SharpRaw by Duane DeSieno
* [64]SilverFast DCPro by LaserSoft Imaging
* [65]StudioLine Photo by H&M Software
* [66]ViewIt by Zdzislaw Losvik
* [67]Viewer n5 by Dmitry Fedorov
* [68]VueScan by Ed Hamrick
* [54]Photo Organizer by Balint Kis
* [55]PhotoReviewer by Ben Haller
* [56]Photovault by Harri Kaimio
* [57]Picasa from Google
* [58]Picture Arena by Felix Schwarz
* [59]PixInsight by Pleiades Software
* [60]PiXPO by PiXPO Inc.
* [61]PolyView by Polybytes
* [62]PowerShovel-II by Luc Minnebo
* [63]RAW Developer by Iridient Digital
* [64]Raw Magick
* [65]RawConvert by Jason Swain
* [66]RawDrop by Frank Siegert
* [67]RawShooter from pixmantec
* [68]RawView by Jari Savolainen
* [69]Serif PhotoPlus, PanoramaPlus, and AlbumPlus
* [70]SharpRaw by Duane DeSieno
* [71]SilverFast DCPro by LaserSoft Imaging
* [72]StudioLine Photo by H&M Software
* [73]ViewIt by Zdzislaw Losvik
* [74]Viewer n5 by Dmitry Fedorov
* [75]VueScan by Ed Hamrick
Frequently Asked Questions
I don't have a C compiler. Could you send me an executable?
No, but Francisco Montilla provides Mac OS and Windows
executables [69]on his website. And Benjamin Lebsanft has
volunteered to maintain [70]Windows executables optimized for
executables [76]on his website. And Benjamin Lebsanft has
volunteered to maintain [77]Windows executables optimized for
specific CPUs.
If you're familiar with the DOS command line but don't know C,
you can install this [71]free C compiler for Windows and compile
you can install this [78]free C compiler for Windows and compile
dcraw.c quite easily.
Why does dcraw say "Out of memory" in Windows Vista?
This is an arbitrary limitation of Windows Vista that will be
fixed in Service Pack 1. Thomas Nicely (of Pentium FDIV fame)
has a [79]page describing the problem.
How can I read the EXIF data (shutter speed, aperture, etc.)?
[72]Phil Harvey's ExifTool provides a unified Perl-based EXIF
[80]Phil Harvey's ExifTool provides a unified Perl-based EXIF
reader (and editor!) for all cameras and file formats. "dcraw -i
-v" is much faster, but provides less information.
How can I read NEF files from Nikon scanners?
Dcraw only supports cameras. Try [73]this simple program for
Dcraw only supports cameras. Try [81]this simple program for
scanners.
How can I read Nikon Dust Off images (NDF files)?
[74]Use this program.
[82]Use this program.
Do you have any specifications describing raw photo formats?
Yes, but they tend to omit important details, like how to
decompress the raw image or decrypt private metadata. See the
[75]TIFF spec, the [76]TIFF/EP spec, the [77]Adobe DNG spec, the
[78]CIFF (CRW) spec, and the [79]X3F spec.
[83]TIFF spec, the [84]TIFF/EP spec, the [85]Adobe DNG spec, the
[86]CIFF (CRW) spec, and the [87]X3F spec.
I'm designing a digital camera. How do I convert its raw photos into
something that dcraw and Adobe Photoshop can open?
Download [80]LibTIFF v3.8.2 and apply [81]this patch. Then use
[82]this C program as a template for converting your photos to
valid [83]Adobe DNG files.
Download [88]LibTIFF v3.8.2 and apply [89]this patch. Then use
[90]this C program as a template for converting your photos to
valid [91]Adobe DNG files.
I shot a raw photo with no light. Why does it appear all noisy, when it
should be solid black?
@ -229,11 +244,11 @@ http://www.cybercom.net/~dcoffin/dcraw/:
Why is 16-bit output dark / unreadable?
If you want pretty pictures straight out of dcraw, stay with
8-bit output. 16-bit linear output is the best raw material for
professional image editors such as [84]Photoshop and
[85]CinePaint, but it's no good for most image viewers.
professional image editors such as [92]Photoshop and
[93]CinePaint, but it's no good for most image viewers.
What does the "-f" (four color RGB) option do?
If you see patterns like [86]this or [87]this in your output
If you see patterns like [94]this or [95]this in your output
images, first try "dcraw -a". If these patterns persist, use
"dcraw -f" to get rid of them.
@ -247,7 +262,7 @@ dcraw -c crw_0001.crw | pnmtopng > crw_0001.png
dcraw -c crw_0001.crw | ppmtobmp > crw_0001.bmp
dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg
I used the [88]Netpbm toolkit in these examples. [89]ImageMagick
I used the [96]Netpbm toolkit in these examples. [97]ImageMagick
also does command-line format conversions. Both are free.
Why don't you implement dcraw as a library?
@ -261,7 +276,7 @@ dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg
formats that change every day.
There's a simpler way to make dcraw modular and thread-safe: Run
it as a separate process. Eric Raymond [90]explains this
it as a separate process. Eric Raymond [98]explains this
technique here.
Why are there false colors along edges within the image?
@ -277,23 +292,23 @@ dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg
Variable Number of Gradients (VNG), and Adaptive
Homogeneity-Directed (AHD).
[91]The Foveon X3 Capture chip requires a different kind of
[99]The Foveon X3 Capture chip requires a different kind of
interpolation. Unlike CCD arrays, it captures three colors at
every pixel location. But the colors are not well separated, so
the raw data looks very gray. Much processing is needed to
enhance color while suppressing noise.
How do I get my camera to take raw photos?
For the Canon PowerShot A610, A620, and others, [92]go here.
For some Nikon Coolpix cameras, you need to enable a [93]special
"DIAG RAW" mode.
For Casio cameras, see [94]Maurice Delaney's website or read
[95]this discussion on dpreview.
For the Minolta DiMAGE G400, G500, G530, or G600, go [96]here
(in Russian) or [97]here (in English).
For the Canon PowerShot A610, A620, and others, [100]go here.
For some Nikon Coolpix cameras, you need to enable a
[101]special "DIAG RAW" mode.
For Casio cameras, see [102]Maurice Delaney's website or read
[103]this discussion on dpreview.
For the Minolta DiMAGE G400, G500, G530, or G600, go [104]here
(in Russian) or [105]here (in English).
For the Minolta DiMAGE Z2 and Nikon Coolpix 2100/3100/3700,
[98]go here.
For SMaL cameras, see the [99]camerahacking Forum.
[106]go here.
For SMaL cameras, see the [107]camerahacking Forum.
For other cameras, refer to the User's Manual.
@ -301,7 +316,7 @@ dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg
Most likely, yes. If your camera is not on the list below, try
dcraw anyway. If it doesn't work, post a raw image to a website
and e-mail me the URL. If you don't have a website, use
[100]Dropload or [101]YouSendIt.
[108]Dropload or [109]YouSendIt.
Ideally, your sample image should show a standard white card or
color chart in direct sunlight, with other colors in the
@ -327,6 +342,7 @@ dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg
* Canon PowerShot G3
* Canon PowerShot G5
* Canon PowerShot G6
* Canon PowerShot S2 IS
* Canon PowerShot S3 IS
* Canon PowerShot S30
* Canon PowerShot S40
@ -348,6 +364,7 @@ dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg
* Canon EOS-1D
* Canon EOS-1DS
* Canon EOS-1D Mark II
* Canon EOS-1D Mark III
* Canon EOS-1D Mark II N
* Canon EOS-1Ds Mark II
* Casio QV-2000UX
@ -376,21 +393,23 @@ dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg
* Fuji FinePix F810
* Fuji FinePix S2Pro
* Fuji FinePix S3Pro
* Fuji FinePix S5Pro
* Fuji FinePix S20Pro
* Fuji FinePix S5000
* Fuji FinePix S5100/S5500
* Fuji FinePix S5200/S5600
* Fuji FinePix S6000fd
* Fuji FinePix S7000
* Fuji FinePix S9000/S9500
* Imacon Ixpress 16-megapixel
* Imacon Ixpress 22-megapixel
* Imacon Ixpress 39-megapixel
* ISG 2020x1520
* Kodak DC20 (see [102]Oliver Hartman's page)
* Kodak DC25 (see [103]Jun-ichiro Itoh's page)
* Kodak DC20 (see [110]Oliver Hartman's page)
* Kodak DC25 (see [111]Jun-ichiro Itoh's page)
* Kodak DC40
* Kodak DC50
* Kodak DC120 (also try [104]kdc2tiff)
* Kodak DC120 (also try [112]kdc2tiff)
* Kodak DCS200
* Kodak DCS315C
* Kodak DCS330C
@ -437,7 +456,9 @@ dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg
* Leaf Volare
* Leica Digilux 2
* Leica Digilux 3
* Leica D-Lux 2
* Leica D-LUX2
* Leica D-LUX3
* Leica V-LUX1
* Logitech Fotoman Pixtura
* Micron 2010
* Minolta RD175
@ -506,6 +527,8 @@ dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg
* Olympus SP320
* Olympus SP350
* Olympus SP500UZ
* Olympus SP510UZ
* Olympus SP550UZ
* Panasonic DMC-FZ30
* Panasonic DMC-FZ50
* Panasonic DMC-L1
@ -535,6 +558,7 @@ dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg
* Rollei d530flex
* RoverShot 3320af
* Samsung GX-1S
* Samsung GX-10
* Sarnoff 4096x5440
* Sigma SD9
* Sigma SD10
@ -562,100 +586,108 @@ References
5. http://www.insflug.org/raw/
6. http://www.aim-dtp.net/aim/digicam/dcraw/
7. http://www.cybercom.net/~dcoffin/resume.html
8. http://www.cybercom.net/~dcoffin/dcraw/dcraw.c
9. http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html
10. http://www.cybercom.net/~dcoffin/dcraw/rawphoto.c
11. http://ufraw.sourceforge.net/
12. http://pages.quicksilver.net.nz/pepe/
13. http://www.cybercom.net/~dcoffin/dcraw/.badpixels
14. http://www.cybercom.net/~dcoffin/dcraw/RCS/dcraw.c,v
15. http://www.cs.purdue.edu/homes/trinkle/RCS/
16. http://www.cybercom.net/~dcoffin/dcraw/parse.c
17. http://www.cybercom.net/~dcoffin/dcraw/clean_crw.c
18. http://www.cybercom.net/~dcoffin/dcraw/fujiturn.c
19. http://www.cybercom.net/~dcoffin/dcraw/fuji_green.c
20. http://www.cybercom.net/~dcoffin/dcraw/decompress.c
21. http://www.cybercom.net/~dcoffin/dcraw/sony_clear.c
22. http://www.cybercom.net/~dcoffin/dcraw/archive/
23. http://www.acdsystems.com/
24. http://www.adobe.com/products/photoshop/cameraraw.html
25. http://www.br-software.com/
26. http://www.breezesys.com/
27. http://www.conceiva.com/
28. http://cpicture.net/en/t_raw.html
29. http://www.canto.com/
30. http://frostyplace.com/dcraw/
31. http://www.tanis.dk/wiki/index.php/DCRawUI
32. http://www.pretentiousname.com/jp2raw/
33. http://deepskystacker.free.fr/
34. http://www.dpmagic.com/
35. http://www.easyraw.com/
36. http://www.lemkesoft.com/
37. http://jcoconsulting.com/index.asp?Section=GVOCX
38. http://www.aragonsystem.com/
39. http://www.irfanview.com/
40. http://www.astrosurf.com/buil/us/iris/iris.htm
41. http://www.kaorg.com/photoservice.asp
42. http://www.lightboxsoftware.com/
43. http://sonic.net/~rat/lightcrafts/
44. http://www.mixpo.com/
45. http://www.wildcape.com/
46. http://photojockey.com/
47. http://smatters.com/dcraw/
48. http://www.k-i-s.net/
49. http://www.sticksoftware.com/software/PhotoReviewer.html
50. http://www.picasa.com/
51. http://www.picturearena.com/
52. http://pleiades-astrophoto.com/
53. http://www.pixpo.com/
54. http://www.polybytes.com/
55. http://lens.liteserv.com/download/powershovel2.php
56. http://www.iridientdigital.com/
57. http://www.rawmagick.com/
58. http://www.i-graph.com/
59. http://www.wizards.de/rawdrop
60. http://www.pixmantec.com/
61. http://www.through-the-lens.net/
62. http://www.serif.com/
63. http://www.logicaldesigns.com/
64. http://www.silverfast.com/
65. http://www.studioline.net/
66. http://www.hexcat.com/viewit/
67. http://www.dimin.net/software/viewer/
68. http://www.hamrick.com/
69. http://www.insflug.org/raw/
70. http://www.lebsanft.org/blog/index.php?cat=9
71. http://www.delorie.com/djgpp/
72. http://www.sno.phy.queensu.ca/~phil/exiftool/
73. http://www.cybercom.net/~dcoffin/dcraw/scan.c
74. http://www.cybercom.net/~dcoffin/dcraw/read_ndf.c
75. http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf
76. http://www.map.tu.chiba-u.ac.jp/IEC/100/TA2/recdoc/N4378.pdf
77. http://www.adobe.com/products/dng/pdfs/dng_spec.pdf
78. http://xyrion.org/ciff/
79. http://www.x3f.info/technotes/FileDocs/X3F_Format.pdf
80. http://dl.maptools.org/dl/libtiff/tiff-3.8.2.tar.gz
81. http://www.cybercom.net/~dcoffin/dcraw/libtiff.patch
82. http://www.cybercom.net/~dcoffin/dcraw/elphel_dng.c
83. http://www.adobe.com/products/dng/main.html
84. http://www.adobe.com/products/photoshop/main.html
85. http://cinepaint.sourceforge.net/
86. http://www.cybercom.net/~dcoffin/dcraw/ahd_maze.png
87. http://www.cybercom.net/~dcoffin/dcraw/vng_grid.png
88. http://netpbm.sourceforge.net/
89. http://www.imagemagick.org/
90. http://www.faqs.org/docs/artu/multiprogramchapter.html
91. http://www.dpreview.com/news/0202/02021101foveonx3.asp
92. http://digicanon.narod.ru/
93. http://e2500.narod.ru/raw_format_e.htm
94. http://www.inweb.ch/foto/rawformat.html
95. http://forums.dpreview.com/forums/read.asp?forum=1015&message=4961779
96. http://myfototest.narod.ru/
97. http://forums.dpreview.com/forums/read.asp?forum=1024&message=11773287
98. http://tester13.nm.ru/nikon/
99. http://www.camerahacking.com/
100. http://dropload.com/
101. http://yousendit.com/
102. http://www.planet-interkom.de/oliver.hartmann/dc20secr.htm
103. http://www.itojun.org/diary/19961113/index.eng.html
104. http://kdc2tiff.sourceforge.net/
8. http://www.outbackphoto.com/artofraw/raw_07/essay.html
9. http://news.com.com/Nikons+photo+encryption+reported+broken/2100-1030_3-5679848.html
10. http://www.dpreview.com/news/0504/05042701davecoffininterview.asp
11. http://www.schnebeck.de/interview-with-dave-coffin-creator-of-dcraw
12. http://www.ladinamo.org/english/raw-format-the-captive-photo.php
13. http://www.cybercom.net/~dcoffin/dcraw/dcraw.c
14. http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html
15. http://www.cybercom.net/~dcoffin/dcraw/rawphoto.c
16. http://ufraw.sourceforge.net/
17. http://pages.quicksilver.net.nz/pepe/
18. http://www.cybercom.net/~dcoffin/dcraw/.badpixels
19. http://www.cybercom.net/~dcoffin/dcraw/RCS/dcraw.c,v
20. http://www.cs.purdue.edu/homes/trinkle/RCS/
21. http://www.cybercom.net/~dcoffin/dcraw/parse.c
22. http://www.cybercom.net/~dcoffin/dcraw/clean_crw.c
23. http://www.cybercom.net/~dcoffin/dcraw/fujiturn.c
24. http://www.cybercom.net/~dcoffin/dcraw/fuji_green.c
25. http://www.cybercom.net/~dcoffin/dcraw/decompress.c
26. http://www.cybercom.net/~dcoffin/dcraw/sony_clear.c
27. http://www.cybercom.net/~dcoffin/dcraw/archive/
28. http://www.cybercom.net/~dcoffin/dcraw/dcraw_eo.po
29. http://www.acdsystems.com/
30. http://www.adobe.com/products/photoshop/cameraraw.html
31. http://www.br-software.com/
32. http://www.breezesys.com/
33. http://www.conceiva.com/
34. http://cpicture.net/en/t_raw.html
35. http://www.canto.com/
36. http://frostyplace.com/dcraw/
37. http://www.tanis.dk/wiki/index.php/DCRawUI
38. http://www.pretentiousname.com/jp2raw/
39. http://deepskystacker.free.fr/
40. http://www.dpmagic.com/
41. http://www.easyraw.com/
42. http://www.lemkesoft.com/
43. http://jcoconsulting.com/index.asp?Section=GVOCX
44. http://www.aragonsystem.com/
45. http://www.irfanview.com/
46. http://www.astrosurf.com/buil/us/iris/iris.htm
47. http://www.kaorg.com/photoservice.asp
48. http://www.lightboxsoftware.com/
49. http://sonic.net/~rat/lightcrafts/
50. http://www.mixpo.com/
51. http://www.wildcape.com/
52. http://photojockey.com/
53. http://smatters.com/dcraw/
54. http://www.k-i-s.net/
55. http://www.sticksoftware.com/software/PhotoReviewer.html
56. http://www.photovault.org/
57. http://www.picasa.com/
58. http://www.picturearena.com/
59. http://pleiades-astrophoto.com/
60. http://www.pixpo.com/
61. http://www.polybytes.com/
62. http://lens.liteserv.com/download/powershovel2.php
63. http://www.iridientdigital.com/
64. http://www.rawmagick.com/
65. http://www.i-graph.com/
66. http://www.wizards.de/rawdrop
67. http://www.pixmantec.com/
68. http://www.through-the-lens.net/
69. http://www.serif.com/
70. http://www.logicaldesigns.com/
71. http://www.silverfast.com/
72. http://www.studioline.net/
73. http://www.hexcat.com/viewit/
74. http://www.dimin.net/software/viewer/
75. http://www.hamrick.com/
76. http://www.insflug.org/raw/
77. http://www.lebsanft.org/blog/index.php?cat=9
78. http://www.delorie.com/djgpp/
79. http://www.trnicely.net/misc/vista.html
80. http://www.sno.phy.queensu.ca/~phil/exiftool/
81. http://www.cybercom.net/~dcoffin/dcraw/scan.c
82. http://www.cybercom.net/~dcoffin/dcraw/read_ndf.c
83. http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf
84. http://www.map.tu.chiba-u.ac.jp/IEC/100/TA2/recdoc/N4378.pdf
85. http://www.adobe.com/products/dng/pdfs/dng_spec.pdf
86. http://xyrion.org/ciff/
87. http://www.x3f.info/technotes/FileDocs/X3F_Format.pdf
88. http://dl.maptools.org/dl/libtiff/tiff-3.8.2.tar.gz
89. http://www.cybercom.net/~dcoffin/dcraw/libtiff.patch
90. http://www.cybercom.net/~dcoffin/dcraw/elphel_dng.c
91. http://www.adobe.com/products/dng/main.html
92. http://www.adobe.com/products/photoshop/main.html
93. http://cinepaint.sourceforge.net/
94. http://www.cybercom.net/~dcoffin/dcraw/ahd_maze.png
95. http://www.cybercom.net/~dcoffin/dcraw/vng_grid.png
96. http://netpbm.sourceforge.net/
97. http://www.imagemagick.org/
98. http://www.faqs.org/docs/artu/multiprogramchapter.html
99. http://www.dpreview.com/news/0202/02021101foveonx3.asp
100. http://digicanon.narod.ru/
101. http://e2500.narod.ru/raw_format_e.htm
102. http://www.inweb.ch/foto/rawformat.html
103. http://forums.dpreview.com/forums/read.asp?forum=1015&message=4961779
104. http://myfototest.narod.ru/
105. http://forums.dpreview.com/forums/read.asp?forum=1024&message=11773287
106. http://tester13.nm.ru/nikon/
107. http://www.camerahacking.com/
108. http://dropload.com/
109. http://yousendit.com/
110. http://www.planet-interkom.de/oliver.hartmann/dc20secr.htm
111. http://www.itojun.org/diary/19961113/index.eng.html
112. http://kdc2tiff.sourceforge.net/

View File

@ -32,3 +32,6 @@
1892 1250 1110000000
2234 484 1110000000
2242 618 1110000000
555 698 1135100000 # December 20-21, 2005
640 157 1139000000 # February 2-5, 2006

16
dcraw.1
View File

@ -1,7 +1,7 @@
.\"
.\" Man page for dcraw
.\"
.\" Copyright (c) 2006 by David Coffin
.\" Copyright (c) 2007 by David Coffin
.\"
.\" You may distribute without restriction.
.\"
@ -9,7 +9,7 @@
.\" dcoffin a cybercom o net
.\" http://www.cybercom.net/~dcoffin
.\"
.TH dcraw 1 "December 21, 2006"
.TH dcraw 1 "February 21, 2007"
.LO 1
.SH NAME
dcraw - command-line decoder for raw digital photos
@ -74,15 +74,9 @@ Use Adaptive Homogeneity-Directed (AHD) interpolation.
Interpolate RGB as four colors. Use this if the output shows
false 2x2 meshes with VNG or mazes with AHD.
.TP
.B -B sigma_domain sigma_range
Use a bilateral filter to smooth noise while preserving edges.
.B sigma_domain
is in units of pixels, while
.B sigma_range
is in units of CIELab colorspace.
Try
.B -B\ 2\ 4
to start.
.B -n noise_threshold
Use wavelets to erase noise while preserving real detail.
The best threshold should be somewhere between 100 and 1000.
.TP
.B -b brightness
By default,

632
dcraw.c

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Apr 25 02:12:58 CEST 2007 - postadal@suse.cz
- updated to RCS 1.377
* Added a color matrix for the Fuji S6000fd
* Set aspect ratio for the Kodak DC20 and DC25
* Replaced bilateral filter with wavelet denoising
* Fixed incompatibility between "-f" and "-p"
* Fixed strange color casts with the Polaroid x530
* Added Adobe matrices for the Nikon D40 and Pentax K10D
* Found larger JPEG thumbs for Nikon D100,D1H,D1X,D2H,D2X,E5000,E5700
* Support the Canon EOS-1D Mark III, Olympus SP550UZ, Fuji FinePix S5Pro
* Use the "a trous" wavelet transform instead of the JPEG2000 method
* Apply sqrt() to denoise highlights and shadows evenly
* Optimized AHD interpolation to take 22% less time
* Better detect and reject non-raw TIFFs
- fixed dcraw permission
-------------------------------------------------------------------
Thu Feb 8 12:29:52 CET 2007 - postadal@suse.cz

View File

@ -1,5 +1,5 @@
#
# spec file for package dcraw (Version 1.364)
# spec file for package dcraw (Version 1.377)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -12,9 +12,9 @@
Name: dcraw
BuildRequires: libjpeg-devel liblcms-devel
Version: 1.364
Version: 1.377
Release: 1
License: Public Domain, Freeware
License: Any permissive
Group: Productivity/Graphics/Convertors
URL: http://www.cybercom.net/~dcoffin/dcraw/
Summary: Raw Digital Photo Decoding
@ -62,7 +62,7 @@ Authors:
%install
mkdir -p $RPM_BUILD_ROOT/%_bindir
mkdir -p $RPM_BUILD_ROOT%_mandir/man1
install dcraw $RPM_BUILD_ROOT/%_bindir/
install -m 0755 dcraw $RPM_BUILD_ROOT/%_bindir/
install -m 0644 dcraw.1 $RPM_BUILD_ROOT/%_mandir/man1/
install parse $RPM_BUILD_ROOT/%_bindir/dcparse
install fujiturn $RPM_BUILD_ROOT/%_bindir/
@ -76,7 +76,22 @@ rm -rf $RPM_BUILD_ROOT
%_bindir/*
%doc %_mandir/man*/*
%changelog -n dcraw
%changelog
* Wed Apr 25 2007 - postadal@suse.cz
- updated to RCS 1.377
* Added a color matrix for the Fuji S6000fd
* Set aspect ratio for the Kodak DC20 and DC25
* Replaced bilateral filter with wavelet denoising
* Fixed incompatibility between "-f" and "-p"
* Fixed strange color casts with the Polaroid x530
* Added Adobe matrices for the Nikon D40 and Pentax K10D
* Found larger JPEG thumbs for Nikon D100,D1H,D1X,D2H,D2X,E5000,E5700
* Support the Canon EOS-1D Mark III, Olympus SP550UZ, Fuji FinePix S5Pro
* Use the "a trous" wavelet transform instead of the JPEG2000 method
* Apply sqrt() to denoise highlights and shadows evenly
* Optimized AHD interpolation to take 22%% less time
* Better detect and reject non-raw TIFFs
- fixed dcraw permission
* Thu Feb 08 2007 - postadal@suse.cz
- updated to RCS 1.364
* Built a color matrix for Canon PowerShot S3 IS, Canon PowerShot A610

10
parse.c
View File

@ -5,8 +5,8 @@
This program displays raw metadata for all raw photo formats.
It is free for all uses.
$Revision: 1.62 $
$Date: 2006/08/18 02:51:53 $
$Revision: 1.63 $
$Date: 2007/02/25 03:07:01 $
*/
#include <stdio.h>
@ -242,8 +242,12 @@ void parse_makernote (base)
type = get2();
count= get4();
tiff_dump (base, tag, type, count, 2);
if (tag == 0x11) {
fseek (ifp, get4()+base, SEEK_SET);
parse_tiff_ifd (base, 3);
}
if (tag == 0x1d)
while ((val = fgetc(ifp)))
while ((val = fgetc(ifp)) && val != EOF)
serial = serial*10 + (isdigit(val) ? val - '0' : val % 10);
if (tag == 0x91)
fread (buf91, sizeof buf91, 1, ifp);