source: general/graphlib/libraw.xml

trunk
Last change on this file was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 2 months ago

Tags

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