sane-project-website/old-archive/2001-05/0067.html

128 wiersze
4.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: RE: SANE API &amp; file format</TITLE>
<META NAME="Author" CONTENT="shailendra mehta (shailendra.mehta@tatainfotech.com)">
<META NAME="Subject" CONTENT="RE: SANE API &amp; file format">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>RE: SANE API &amp; file format</H1>
<!-- received="Fri May 4 00:55:27 2001" -->
<!-- isoreceived="20010504075527" -->
<!-- sent="Fri, 4 May 2001 13:34:15 +0530" -->
<!-- isosent="20010504080415" -->
<!-- name="shailendra mehta" -->
<!-- email="shailendra.mehta@tatainfotech.com" -->
<!-- subject="RE: SANE API &amp; file format" -->
<!-- id="000001c0d470$d0bdcfe0$0c2c7aa3@TIL" -->
<!-- inreplyto="3AF22F62.E00B19D0@objects.com.au" -->
<STRONG>From:</STRONG> shailendra mehta (<A HREF="mailto:shailendra.mehta@tatainfotech.com?Subject=RE:%20SANE%20API%20&amp;%20file%20format&In-Reply-To=&lt;000001c0d470$d0bdcfe0$0c2c7aa3@TIL&gt;"><EM>shailendra.mehta@tatainfotech.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri May 04 2001 - 01:04:15 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0068.html">Mick Barry: "Re: SANE API &amp; file format"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0066.html">stef: "Re: New backend: UMAX 1220P sane'ification take 1"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0065.html">Mick Barry: "Re: SANE API &amp; file format"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0068.html">Mick Barry: "Re: SANE API &amp; file format"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0061.html">Stephen Williams: "Re: SANE API &amp; file format"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0068.html">Mick Barry: "Re: SANE API &amp; file format"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0075.html">Oliver Rauch: "Re: SANE API &amp; file format"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0079.html">Stephen Williams: "Re: SANE API &amp; file format"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#67">[ date ]</A>
<A HREF="index.html#67">[ thread ]</A>
<A HREF="subject.html#67">[ subject ]</A>
<A HREF="author.html#67">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi mick
<BR>
Thanks.
<BR>
But I want help on how these read bytes should be converted to jpeg &amp; stored
<BR>
on disk.
<BR>
I have seen somewhere that it is possible with GIMP plug in.
<BR>
But I want to do it in C progrmming.
<BR>
How this can be achieved.
<BR>
Pls Reply.
<BR>
<P>&nbsp;Thanks &amp; regards
<BR>
&nbsp;--Shailendra
<BR>
<P><P><P><P><EM>&gt;From sane.h:
</EM><BR>
typedef unsigned char SANE_Byte;
<BR>
<P>shailendra mehta wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hi mick
</EM><BR>
<EM>&gt; Thank you for your reply.
</EM><BR>
<EM>&gt; Can you give me some guidelines regarding storage of the file.
</EM><BR>
<EM>&gt; Bcos byte format read from API is not char *(or any other standard type)
</EM><BR>
but
<BR>
<EM>&gt; SANE_bye.
</EM><BR>
<EM>&gt; What should I do for those read bytes?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Thanks again for your help.
</EM><BR>
<EM>&gt; --Shailendra&gt;
</EM><BR>
<P><P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=RE:%20SANE%20API%20&amp;%20file%20format&In-Reply-To=&lt;000001c0d470$d0bdcfe0$0c2c7aa3@TIL&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0068.html">Mick Barry: "Re: SANE API &amp; file format"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0066.html">stef: "Re: New backend: UMAX 1220P sane'ification take 1"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0065.html">Mick Barry: "Re: SANE API &amp; file format"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0068.html">Mick Barry: "Re: SANE API &amp; file format"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0061.html">Stephen Williams: "Re: SANE API &amp; file format"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0068.html">Mick Barry: "Re: SANE API &amp; file format"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0075.html">Oliver Rauch: "Re: SANE API &amp; file format"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0079.html">Stephen Williams: "Re: SANE API &amp; file format"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#67">[ date ]</A>
<A HREF="index.html#67">[ thread ]</A>
<A HREF="subject.html#67">[ subject ]</A>
<A HREF="author.html#67">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Fri May 04 2001 - 00:58:14 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>