• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How To Install Dcraw On Ubuntu 16.04

1283

To Install dcraw on Ubuntu 16.04

dcraw is an open-source application used for reading numerous raw image formats, typically the ones produced by high-end digital cameras. dcraw is a simple to install tool, and this article covers the installation of dcraw on Ubuntu.

Installing dcraw

To initiate the installation of dcraw, you need to add the repository in your system. Use the following command for the same purpose.

root@linuxhelp1:~# 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: keyring `/tmp/tmpbr_97onh/secring.gpg'  created
gpg: keyring `/tmp/tmpbr_97onh/pubring.gpg'  created
gpg: requesting key 93330B78 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpbr_97onh/trustdb.gpg: trustdb created
gpg: key 93330B78: public key " Launchpad PPA for Dariusz Duma"  imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

Once it is done, update the newly added repository as follows.

root@linuxhelp1:~# apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease                    
Hit:3 http://ppa.launchpad.net/dhor/myway/ubuntu xenial InRelease             
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease                 
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]      
Fetched 204 kB in 1s (108 kB/s)                                                                
Reading package lists... Done

Now is the time to install the package. Use the following command for the same purpose.

root@linuxhelp1:~# 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 470 not upgraded.
Need to get 147 kB of archives.
After this operation, 368 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 dcraw amd64 9.21-0.2 [147 kB]
Fetched 147 kB in 2s (59.7 kB/s)
Selecting previously unselected package dcraw.
(Reading database ... 176594 files and directories currently installed.)
Preparing to unpack .../dcraw_9.21-0.2_amd64.deb ...
Unpacking dcraw (9.21-0.2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up dcraw (9.21-0.2) ...


You can know about the options available with the dcraw command by invoking the following command.

root@linuxhelp1:~# dcraw

Raw photo decoder " dcraw"  v9.21
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-5]  Output colorspace (raw,sRGB,Adobe,Wide,ProPhoto,XYZ)
-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


For removing the package.

root@linuxhelp1:~# apt-get remove dcraw -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  dcraw
0 upgraded, 0 newly installed, 1 to remove and 470 not upgraded.
After this operation, 368 kB disk space will be freed.
(Reading database ... 176612 files and directories currently installed.)
Removing dcraw (9.21-0.2) ...
Processing triggers for man-db (2.7.5-1) ...

It was a simple installation method, wasn' t it? dcraw can convert the images into the standard PPM and TIFF image formats. This conversion is sometimes referred to as developing a raw image since it renders raw image sensor data into a viewable form. Several front-end tools such as Darktable, Rawtherapee and UFRaw, use dcraw as its back-end.

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

How do you view RAW Bayer mosaic image?

A

I believe DCRaw is able to do that. This is a console application. I once tried it, the image was completly grey. > https://www.cybercom.net/~dcoffin/dcraw/

Q

Do you have any specifications describing raw photo formats?

A

Yes, but they tend to omit important details, like how to decompress the raw image or decrypt private metadata. See the TIFF spec, the TIFF/EP spec, the Adobe DNG spec, the CIFF (CRW) spec, a

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

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 expensive, so cameras crop off the edge pixels after processing.

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 cannot use global variables. Libraries are more difficult to modify, build, install, and test than standalone programs, and so are inappropriate for file formats that change every day.

Related Tutorials in How To Install Dcraw On Ubuntu 16.04

Related Tutorials in How To Install Dcraw On Ubuntu 16.04

How to install Meld tool in Ubuntu
How to install Meld tool in Ubuntu
Feb 25, 2017
How to install Dconf-Editor on Ubuntu 18.04
How to install Dconf-Editor on Ubuntu 18.04
Jul 14, 2018
How to install and update OpenSSL on Ubuntu 16.04
How to install and update OpenSSL on Ubuntu 16.04
Mar 9, 2017
How to install GLib 2.0 on Ubuntu 17.04
How to install GLib 2.0 on Ubuntu 17.04
May 22, 2017
How to Install Android Emulator on Ubuntu 20.4.1
How to Install Android Emulator on Ubuntu 20.4.1
Jul 13, 2021
How To Install AnyDesk on Ubuntu 16.04
How To Install AnyDesk on Ubuntu 16.04
Apr 4, 2018
How to install Genymotion 2.12.1 on Ubuntu 18.04
How to install Genymotion 2.12.1 on Ubuntu 18.04
Jul 9, 2018
How to install Timeshift 18.4 on Ubuntu 18.04
How to install Timeshift 18.4 on Ubuntu 18.04
Jul 6, 2018

Related Forums in How To Install Dcraw On Ubuntu 16.04

Related Forums in How To Install Dcraw On Ubuntu 16.04

Ubuntu
matthew class=
Failed to enable unit: Refusing to operate on linked unit file sshd.service
Apr 15, 2019
Ubuntu
mason class=
Passwd: You may not view or modify password information for root On Ubuntu 19.04
May 27, 2019
Ubuntu
isaac class=
/etc/apt/sources.list Permission denied
May 18, 2017
Ubuntu
yousuf class=
lsb_release command not working : Debian
Jan 18, 2018
ifconfig command
jackbrookes class=
what is the location of the ifconfig program on your machine?
Jan 4, 2018
Ubuntu
mason class=
"E: Package 'php-mcrypt' has no installation candidate" error on Ubuntu 20.4.1
Mar 15, 2021
NFS
luke class=
clnt_create: RPC: Program not registered
Apr 25, 2017
Apache
isaac class=
How to disable apache welcome page on Ubuntu
Dec 15, 2018

Related News in How To Install Dcraw On Ubuntu 16.04

Related News in How To Install Dcraw On Ubuntu 16.04

How To Install Mixxx on Ubuntu 16.04
How To Install Mixxx on Ubuntu 16.04
Oct 11, 2017
Ubuntu 17.04 released with greater expectations
Ubuntu 17.04 released with greater expectations
Apr 15, 2017
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Mar 1, 2017
Ubuntu 17.10 Artful Aardvark Beta 1 is now here. Download Now
Ubuntu 17.10 Artful Aardvark Beta 1 is now here. Download Now
Sep 2, 2017
Ubuntu Unity is no more: One Linux dream has been axed
Ubuntu Unity is no more: One Linux dream has been axed
Apr 7, 2017
What’s next for Ubuntu Linux Desktop?
What’s next for Ubuntu Linux Desktop?
Apr 11, 2017
Say Hi to Ubuntu's new mascot
Say Hi to Ubuntu's new mascot
Mar 22, 2019
KDE Connect App was removed from Google Play Store and brought back in 24 hours
KDE Connect App was removed from Google Play Store and brought back in 24 hours
Mar 22, 2019
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 legeek ?
Installation of the call center module

hello

I wish to install a call center in virtual with issabel, I downloaded the latest version of it , but I don' t arrive to install the call center module in issabel. please help me

thanks!

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.