Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-h.b-one.net (mx-h.one.com [91.198.169.55])
	by mail9.b-one.net (Postfix) with ESMTP id 0A2D940013D
	for <info@awaresystems.be>; Tue,  4 Aug 2009 16:16:10 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Score: 0.001
X-Spam-Level: 
X-Spam-Status: No, score=0.001 tagged_above=0 required=6
	tests=[HTML_MESSAGE=0.001]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-h.b-one.net (Postfix) with ESMTP id 7F955199B836
	for <info@awaresystems.be>; Tue,  4 Aug 2009 16:16:08 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 2706F1D5A25BB;
	Tue,  4 Aug 2009 09:14:58 -0500 (EST)
Received: from akimn.com (unknown [66.103.177.161])
	by lists.maptools.org (Postfix) with ESMTP id 96EC31D5A25B0
	for <tiff@lists.maptools.org>; Tue,  4 Aug 2009 09:13:34 -0500 (EST)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Tue, 4 Aug 2009 09:13:21 -0500
Message-ID: <37CE7D132DD3F449B03793282D14D4C22FF912@AKI-SERVER.AKI.local>
X-MimeOLE: Produced By Microsoft Exchange V6.5
In-Reply-To: <C69C94B1.81FE1%ccox@adobe.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Tiff] .raw extension
thread-index: AcoUZHWxgMi+QMENTNyfiSRI7iL/IwAE22TeACVsObA=
References: <37CE7D132DD3F449B03793282D14D4C22FF901@AKI-SERVER.AKI.local>
	<C69C94B1.81FE1%ccox@adobe.com>
From: "Joe Tracy" <JTracy@akimn.com>
To: "Chris Cox" <ccox@adobe.com>,
	"TIFF" <tiff@lists.maptools.org>
Subject: Re: [Tiff] .raw extension
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1884599463=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

This is a multi-part message in MIME format.

--===============1884599463==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CA150D.B9339F43"

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA150D.B9339F43
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

No,  they are raw uncompressed 16 bit tiff files without a header.  I
received a suggestion on using the ChannelInputStream class so I am
going to give this a try.

=20

Thanks,
joe

________________________________

From: Chris Cox [mailto:ccox@adobe.com]=20
Sent: Monday, August 03, 2009 3:21 PM
To: Joe Tracy; TIFF
Subject: Re: [Tiff] .raw extension

=20

Are these RAW files from a digital camera?  If so, LibTIFF won't be able
to do much with them --  because RAW files are not simple pixels, they
are a record of the sensor data and need to be demosaic'd before they
become useful images.  Take a look at dcraw.

Chris



On 8/3/09 11:01 AM, "Joe Tracy" <JTracy@akimn.com> wrote:

Has anyone used libtiff to read in a .raw file?  The files I have are
raw, uncompressed tiff images (16 bit).  I would like to read them in,
write a header and create a tiff file of them.
=20
Thanks,
Joe


------_=_NextPart_001_01CA150D.B9339F43
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Re: [Tiff] .raw extension</title>
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Myriad Pro";
	panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>No,&nbsp; they are raw uncompressed =
16 bit tiff
files without a header.&nbsp; I received a suggestion on using the =
ChannelInputStream
class so I am going to give this a try.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,<br>
joe<o:p></o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Chris =
Cox
[mailto:ccox@adobe.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, August 03, =
2009 3:21
PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Joe Tracy; TIFF<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [Tiff] .raw =
extension</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3D"Myriad Pro"><span
style=3D'font-size:10.0pt;font-family:"Myriad Pro"'>Are these RAW files =
from a
digital camera? &nbsp;If so, LibTIFF won&#8217;t be able to do much with =
them
-- &nbsp;because RAW files are not simple pixels, they are a record of =
the
sensor data and need to be demosaic&#8217;d before they become useful =
images. &nbsp;Take
a look at dcraw.<br>
<br>
Chris<br>
<br>
<br>
<br>
On 8/3/09 11:01 AM, &quot;Joe Tracy&quot; &lt;<a =
href=3D"JTracy@akimn.com">JTracy@akimn.com</a>&gt;
wrote:</span></font><o:p></o:p></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Has anyone used libtiff to =
read in a
.raw file? &nbsp;The files I have are raw, uncompressed tiff images (16 =
bit).
&nbsp;I would like to read them in, write a header and create a tiff =
file of
them.<br>
&nbsp;<br>
Thanks,<br>
Joe</span></font><o:p></o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01CA150D.B9339F43--

--===============1884599463==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
--===============1884599463==--
