[6054745] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libraw-download-http "http://www.libraw.org/data/LibRaw-&libraw-version;.tar.gz">
|
---|
| 8 | <!ENTITY libraw-download-ftp " ">
|
---|
[94b4def9] | 9 | <!ENTITY libraw-md5sum "b56ace01e64aba9cda4f9e7f2821449d">
|
---|
| 10 | <!ENTITY libraw-size "1.5 MB">
|
---|
| 11 | <!ENTITY libraw-buildsize "18 MB">
|
---|
[ac38e9dc] | 12 | <!ENTITY libraw-time "0.2 SBU">
|
---|
[6054745] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libraw" xreflabel="libraw-&libraw-version;">
|
---|
| 16 | <?dbhtml filename="libraw.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[3acf108] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[6054745] | 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libraw-&libraw-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libraw">
|
---|
| 26 | <primary sortas="a-libraw">libraw</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libraw</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>Libraw</application> is a library for reading RAW files
|
---|
[94b4def9] | 34 | obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others).
|
---|
[6054745] | 35 | </para>
|
---|
| 36 |
|
---|
[94b4def9] | 37 | &lfs78_checked;
|
---|
[6054745] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&libraw-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&libraw-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &libraw-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &libraw-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &libraw-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &libraw-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">libraw Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 76 | <para role="recommended">
|
---|
[94b4def9] | 77 | <xref linkend="libjpeg"/>,
|
---|
[6054745] | 78 | <xref linkend="jasper"/>, and
|
---|
| 79 | <xref linkend="lcms2"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 83 | <para role="optional">
|
---|
| 84 | <ulink url="http://www.libraw.org/download">LibRaw-demosaic-pack-GPL2</ulink> and
|
---|
| 85 | <ulink url="http://www.libraw.org/download">LibRaw-demosaic-pack-GPL3</ulink>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <para condition="html" role="usernotes">User Notes:
|
---|
| 89 | <ulink url="&blfs-wiki;/libraw"/>
|
---|
| 90 | </para>
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of libraw</title>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
| 97 | Install <application>libraw</application> by running the following
|
---|
| 98 | commands:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 102 | --enable-jpeg \
|
---|
| 103 | --enable-jasper \
|
---|
| 104 | --enable-lcms \
|
---|
| 105 | --disable-static \
|
---|
| 106 | --docdir=/usr/share/doc/libraw-&libraw-version; &&
|
---|
| 107 | make</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
[94b4def9] | 110 | This package does not come with a test suite.
|
---|
[6054745] | 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
| 114 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | <option>--enable-jpeg</option>: This switch enables
|
---|
| 126 | support for jpeg. Remove if you don't have
|
---|
| 127 | <xref linkend="libjpeg"/> installed.
|
---|
| 128 | </para>
|
---|
[94b4def9] | 129 |
|
---|
[6054745] | 130 | <para>
|
---|
| 131 | <option>--enable-jasper</option>: This switch enables
|
---|
| 132 | support for jasper. Remove if you don't have
|
---|
| 133 | <xref linkend="jasper"/> installed.
|
---|
| 134 | </para>
|
---|
[94b4def9] | 135 |
|
---|
[6054745] | 136 | <para>
|
---|
[444158fa] | 137 | <option>--enable-lcms</option>: This switch enables
|
---|
[6054745] | 138 | support for Little CMS2. Remove if you don't have
|
---|
| 139 | <xref linkend="lcms2"/> installed.
|
---|
| 140 | </para>
|
---|
[94b4def9] | 141 |
|
---|
[6054745] | 142 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 143 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2 role="content">
|
---|
| 148 | <title>Contents</title>
|
---|
| 149 |
|
---|
[ac38e9dc] | 150 | <note>
|
---|
| 151 | <para>
|
---|
| 152 | All the installed programs are examples of libraw use.
|
---|
| 153 | </para>
|
---|
| 154 | </note>
|
---|
| 155 |
|
---|
[6054745] | 156 | <segmentedlist>
|
---|
| 157 | <segtitle>Installed Programs</segtitle>
|
---|
| 158 | <segtitle>Installed Library</segtitle>
|
---|
| 159 | <segtitle>Installed Directories</segtitle>
|
---|
| 160 |
|
---|
| 161 | <seglistitem>
|
---|
| 162 | <seg>
|
---|
[94b4def9] | 163 | 4channels, dcraw_emu, dcraw_half, half_mt, mem_image,
|
---|
| 164 | multirender_test, postprocessing_benchmark, raw-identify,
|
---|
| 165 | simple_dcraw, and unprocessed_raw
|
---|
[6054745] | 166 | </seg>
|
---|
| 167 | <seg>
|
---|
| 168 | libraw.so and libraw_r.so
|
---|
| 169 | </seg>
|
---|
| 170 | <seg>
|
---|
| 171 | /usr/include/libraw and
|
---|
| 172 | /usr/share/doc/libraw-&libraw-version;
|
---|
| 173 | </seg>
|
---|
| 174 | </seglistitem>
|
---|
| 175 | </segmentedlist>
|
---|
[ac38e9dc] | 176 |
|
---|
[6054745] | 177 | <variablelist>
|
---|
| 178 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 179 | <?dbfo list-presentation="list"?>
|
---|
| 180 | <?dbhtml list-presentation="table"?>
|
---|
| 181 |
|
---|
[ac38e9dc] | 182 | <varlistentry id="_4channels">
|
---|
| 183 | <term><command>4channels</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>
|
---|
| 186 | generates four TIFF files from RAW data, one file per channel.
|
---|
| 187 | </para>
|
---|
| 188 | <indexterm zone="libraw _4channels">
|
---|
| 189 | <primary sortas="b-_4channels">4channels</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="dcraw_half">
|
---|
| 195 | <term><command>dcraw_half</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>
|
---|
| 198 | emulates "dcraw -h" (see <ulink
|
---|
| 199 | url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
|
---|
| 200 | DCRAW manpage</ulink>).
|
---|
| 201 | </para>
|
---|
| 202 | <indexterm zone="libraw dcraw_half">
|
---|
| 203 | <primary sortas="b-dcraw_half">dcraw_half</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="mem_image">
|
---|
| 209 | <term><command>mem_image</command></term>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>
|
---|
| 212 | emulates "dcraw [-4] [-6] [-e]" (see <ulink
|
---|
| 213 | url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
|
---|
| 214 | DCRAW manpage</ulink>).
|
---|
| 215 | </para>
|
---|
| 216 | <indexterm zone="libraw mem_image">
|
---|
| 217 | <primary sortas="b-mem_image">mem_image</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="postprocessing_benchmark">
|
---|
| 223 | <term><command>postprocessing_benchmark</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>
|
---|
| 226 | creates eight different renderings from one source file.
|
---|
| 227 | The first and fourth one should be identical.
|
---|
| 228 | </para>
|
---|
| 229 | <indexterm zone="libraw postprocessing_benchmark">
|
---|
| 230 | <primary sortas="b-postprocessing_benchmark">
|
---|
| 231 | postprocessing_benchmark</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
| 236 | <varlistentry id="simple_dcraw">
|
---|
| 237 | <term><command>simple_dcraw</command></term>
|
---|
| 238 | <listitem>
|
---|
| 239 | <para>
|
---|
| 240 | emulates call to "dcraw [-D] [-T] [-v] [-e] [-4]" (see <ulink
|
---|
| 241 | url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
|
---|
| 242 | DCRAW manpage</ulink>).
|
---|
| 243 | </para>
|
---|
| 244 | <indexterm zone="libraw simple_dcraw">
|
---|
| 245 | <primary sortas="b-simple_dcraw">simple_dcraw</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
| 249 |
|
---|
| 250 | <varlistentry id="dcraw_emu">
|
---|
| 251 | <term><command>dcraw_emu</command></term>
|
---|
| 252 | <listitem>
|
---|
| 253 | <para>
|
---|
| 254 | is an almost complete dcraw emulator (see <ulink
|
---|
| 255 | url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
|
---|
| 256 | DCRAW manpage</ulink>).
|
---|
| 257 | </para>
|
---|
| 258 | <indexterm zone="libraw dcraw_emu">
|
---|
| 259 | <primary sortas="b-dcraw_emu">dcraw_emu</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="half_mt">
|
---|
| 265 | <term><command>half_mt</command></term>
|
---|
| 266 | <listitem>
|
---|
| 267 | <para>
|
---|
| 268 | emulates call to "dcraw -h [-w] [-a] [-v]" (see <ulink
|
---|
| 269 | url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
|
---|
| 270 | DCRAW manpage</ulink>).
|
---|
| 271 | </para>
|
---|
| 272 | <indexterm zone="libraw half_mt">
|
---|
| 273 | <primary sortas="b-half_mt">half_mt</primary>
|
---|
| 274 | </indexterm>
|
---|
| 275 | </listitem>
|
---|
| 276 | </varlistentry>
|
---|
| 277 |
|
---|
| 278 | <varlistentry id="multirender_test">
|
---|
| 279 | <term><command>multirender_test</command></term>
|
---|
| 280 | <listitem>
|
---|
| 281 | <para>
|
---|
| 282 | creates eight different renderings from one source file.
|
---|
| 283 | The first and fourth one should be identical.
|
---|
| 284 | </para>
|
---|
| 285 | <indexterm zone="libraw multirender_test">
|
---|
| 286 | <primary sortas="b-multirender_test">multirender_test</primary>
|
---|
| 287 | </indexterm>
|
---|
| 288 | </listitem>
|
---|
| 289 | </varlistentry>
|
---|
| 290 |
|
---|
| 291 | <varlistentry id="raw-identify">
|
---|
| 292 | <term><command>raw-identify</command></term>
|
---|
| 293 | <listitem>
|
---|
| 294 | <para>
|
---|
| 295 | emulates call to "dcraw -i [-v]" (see <ulink
|
---|
| 296 | url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
|
---|
| 297 | DCRAW manpage</ulink>).
|
---|
| 298 | </para>
|
---|
| 299 | <indexterm zone="libraw raw-identify">
|
---|
| 300 | <primary sortas="b-raw-identify">half_mt</primary>
|
---|
| 301 | </indexterm>
|
---|
| 302 | </listitem>
|
---|
| 303 | </varlistentry>
|
---|
| 304 |
|
---|
| 305 | <varlistentry id="unprocessed_raw">
|
---|
| 306 | <term><command>unprocessed_raw</command></term>
|
---|
| 307 | <listitem>
|
---|
| 308 | <para>
|
---|
| 309 | generates unprocessed raw image: with masked pixels and without
|
---|
| 310 | black subtraction.
|
---|
| 311 | </para>
|
---|
| 312 | <indexterm zone="libraw unprocessed_raw">
|
---|
| 313 | <primary sortas="b-unprocessed_raw">unprocessed_raw</primary>
|
---|
| 314 | </indexterm>
|
---|
| 315 | </listitem>
|
---|
| 316 | </varlistentry>
|
---|
| 317 |
|
---|
[94b4def9] | 318 | <!-- <varlistentry id="libraw-lib">
|
---|
| 319 | <term><filename class='libraryfile'>libraw.so</filename></term>
|
---|
[6054745] | 320 | <listitem>
|
---|
| 321 | <para>
|
---|
| 322 | contains functions used for parsing, editing, and saving
|
---|
| 323 | data.
|
---|
| 324 | </para>
|
---|
| 325 | <indexterm zone="libraw libraw-lib">
|
---|
| 326 | <primary sortas="c-libraw">libraw.so</primary>
|
---|
| 327 | </indexterm>
|
---|
| 328 | </listitem>
|
---|
[94b4def9] | 329 | </varlistentry> -->
|
---|
[6054745] | 330 |
|
---|
| 331 | </variablelist>
|
---|
[ac38e9dc] | 332 |
|
---|
[6054745] | 333 | </sect2>
|
---|
| 334 |
|
---|
| 335 | </sect1>
|
---|