summaryrefslogtreecommitdiff
path: root/media-gfx/dcraw/files/conversion-examples.txt
blob: 8f179e2ed1e6768a14b2236a162b6d6822843e6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Conversion examples
===================

CCD-RAW -> TIFF, using 'pnmtotiff' from the 'media-libs/netpbm' package:

	$ dcraw -c crw_0001.crw | pnmtotiff -truecolor > crw_0001.tiff

CCD-RAW -> PNG, using 'pnmtopng' from the 'media-libs/netpbm' package:

	$ dcraw -c crw_0001.crw | pnmtopng > crw_0001.png

CCD-RAW -> BMP, using 'ppmtobmp' from the 'media-libs/netpbm' package:

	$ dcraw -c crw_0001.crw | ppmtobmp > crw_0001.bmp

CCD-RAW -> JPEG, using 'cjpeg' from the 'media-libs/jpeg' package:

	$ dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg