• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install DCRaw on Ubuntu 17.04

{{postValue.id}}

To install DCRaw on Ubuntu 17.04

DCRaw is an open-source application used for reading numerous raw image formats, typically the ones produced by high-end digital cameras. The DCRaw is a simple to install tool and also can convert these raw images into the standard PPM and TIFF image formats. This tutorial explains the installation procedure of DCRaw on Ubuntu 17.04.

Installation procedure

To proceed with the installation procedure, add the required repository for DCRaw by executing the following command.

root@linuxhelp:~# add-apt-repository ppa:dhor/myway
 Every photographer needs some tools...
 More info: https://launchpad.net/~dhor/+archive/ubuntu/myway
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox ' /tmp/tmpo4utry6w/pubring.gpg'  created
gpg: /tmp/tmpo4utry6w/trustdb.gpg: trustdb created
gpg: key E2B7D64D93330B78: public key " Launchpad PPA for Dariusz Duma"  imported
gpg: Total number processed: 1
gpg:               imported: 1
OK

The repositories are added to the system. Next update the target system by running the apt-get update command.

root@linuxhelp:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu zesty-security InRelease
Get:2 http://ppa.launchpad.net/dhor/myway/ubuntu zesty InRelease [15.4 kB]
Get:3 http://ppa.launchpad.net/dhor/myway/ubuntu zesty/main amd64 Packages [5,888 B]
Get:4 http://ppa.launchpad.net/dhor/myway/ubuntu zesty/main i386 Packages [5,908 B]
Get:5 http://ppa.launchpad.net/dhor/myway/ubuntu zesty/main Translation-en [4,248 B]
Hit:6 http://in.archive.ubuntu.com/ubuntu zesty InRelease
Get:7 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2 kB]    
Get:8 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease [89.2 kB]  
Fetched 210 kB in 7s (28.9 kB/s)                                               
Reading package lists... Done

The system is updated with the repositories. Now install DCRaw package by executing the following command and press y to continue with the installation procedure.

root@linuxhelp:~# apt-get install dcraw -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  gphoto2
The following NEW packages will be installed:
  dcraw
0 upgraded, 1 newly installed, 0 to remove and 279 not upgraded.
Need to get 163 kB of archives.
After this operation, 394 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 dcraw amd64 9.27-
.
.
.
.
.
Selecting previously unselected package dcraw.
(Reading database ... 170934 files and directories currently installed.)
Preparing to unpack .../dcraw_9.27-1ubuntu1_amd64.deb ...
Unpacking dcraw (9.27-1ubuntu1) ...
Setting up dcraw (9.27-1ubuntu1) ...
Processing triggers for man-db (2.7.6.1-2) ...

The DCRaw application is running successfully. To know more about the options available with the DCRaw, run the following dcraw command in the terminal and the list of options appears below.

root@linuxhelp:~# dcraw
Raw photo decoder " dcraw"  v9.27
by Dave Coffin, dcoffin a cybercom o net

Usage:  dcraw [OPTION]... [FILE]...

-v        Print verbose messages
-c        Write image data to standard output
-e        Extract embedded thumbnail image
-i        Identify files without decoding them
-i -v     Identify files and show metadata
-z        Change file dates to camera timestamp
-w        Use camera white balance, if possible
-a        Average the whole image for white balance
-A < x y w h>  Average a grey box for white balance
-r < r g b g>  Set custom white balance
+M/-M     Use/don' t use an embedded color matrix
-C < r b>   Correct chromatic aberration
-P < file>  Fix the dead pixels listed in this file
-K < file>  Subtract dark frame (16-bit raw PGM)
-k < num>   Set the darkness level
-S < num>   Set the saturation level
-n < num>   Set threshold for wavelet denoising
-H [0-9]  Highlight mode (0=clip, 1=unclip, 2=blend, 3+=rebuild)
-t [0-7]  Flip image (0=none, 3=180, 5=90CCW, 6=90CW)
-o [0-6]  Output colorspace (raw,sRGB,Adobe,Wide,ProPhoto,XYZ,ACES)
-o < file>  Apply output ICC profile from file
-p < file>  Apply camera ICC profile from file or " embed" 
-d        Document mode (no color, no interpolation)
-D        Document mode without scaling (totally raw)
-j        Don' t stretch or rotate raw pixels
-W        Don' t automatically brighten the image
-b < num>   Adjust brightness (default = 1.0)
-g < p ts>  Set custom gamma curve (default = 2.222 4.5)
-q [0-3]  Set the interpolation quality
-h        Half-size color image (twice as fast as " -q 0" )
-f        Interpolate RGGB as four colors
-m < num>   Apply a 3x3 median filter to R-G and B-G
-s [0..N-1] Select one raw image or " all"  from each file
-6        Write 16-bit instead of 8-bit
-4        Linear 16-bit, same as " -6 -W -g 1 1" 
-T        Write TIFF instead of PPM

Thus the installation of DCRaw on Ubuntu 17.04 is done without any glitches.

Tags:
grayson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

how to execute the Dcrow without the C compiler in ubuntu?

A

Sergio Namias has built some current Windows EXE files here. Dcraw has also been ported to Amiga, MorphOS, BeOS, OS/2, and RISC OS.

Q

Why are dcraw output images larger than camera JPEGs?

A

Any algorithm that combines each pixel with its neighbors is going to have problems near the edges. C code is cheap, so dcraw applies a different algorithm to edge pixels. Hardware logic is e

Q

Why don't you implement dcraw as a library?

A

I have decided that dcraw shall be a command-line program written in C, and that any further abstraction layers must be added around this core, not inside it.Library code is ugly because it c

Q

Whether Dcrow is a cross platform application ?

A

yes, DCrow is a cross platform application.

Q

where to open the application of DCrow in ubuntu?

A

run the following dcraw command in the terminal and the list of options appears below.
# dcraw

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.