Thanks for the information allan, I have one more doubt. The SANE standard (section 3.2) just tells about image transmission, it did not gave me details about image file format. Different devices have different file formats for RAW image such as raf (Fuji) .crw .cr2 (Canon) .mrw (Minolta) .nef (Nikon) .orf (Olympus) .dng (Adobe) .pef (Pentax) and any other device file format.
In what file format Xsane expects the image data? -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of [email protected] Sent: Thursday, August 10, 2006 5:05 PM To: [email protected] Subject: sane-devel Digest, Vol 14, Issue 22 Message: 2 Date: Wed, 9 Aug 2006 19:48:26 +0530 From: "Rupesh Tarpara" <[email protected]> Subject: [sane-devel] Image data format from driver to frontend. To: <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" My device is capable of scanning images in different formats (jpeg, Tiff, bmp ) depending on scan settings. In what format the Frontend (eg. Xsane, I am using it for testing) expects image data from backend? (raw or any of jpeg, Tiff, bmp) Rupesh. ------------------------------ Message: 3 Date: Wed, 9 Aug 2006 10:25:10 -0400 (EDT) From: "m. allan noah" <[email protected]> Subject: Re: [sane-devel] Image data format from driver to frontend. To: [email protected] Message-ID: <[email protected]> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Wed, 9 Aug 2006, Rupesh Tarpara wrote: > My device is capable of scanning images in different formats (jpeg, Tiff, > bmp ) depending on scan settings. > > In what format the Frontend (eg. Xsane, I am using it for testing) expects > image data from backend? (raw or any of jpeg, Tiff, bmp) raw, see the sane standard, section 3.2 allan -- "so don't tell us it can't be done, putting down what you don't know. money isn't our god, integrity will free our souls" - Max Cavalera ------------------------------ Message: 8 Date: Thu, 10 Aug 2006 16:16:36 +0530 From: "Rupesh Tarpara" <[email protected]> Subject: [sane-devel] Help on Xsane. To: <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" My device is capable of scanning images in different formats (jpeg, Tiff, bmp ) depending on scan settings. In what format the Frontend (eg. Xsane, I am using it for testing) expects image data from backend? (raw or any of jpeg, Tiff, bmp) Rupesh. ------------------------------ Message: 9 Date: Thu, 10 Aug 2006 13:32:48 +0200 From: Gerhard Jaeger <[email protected]> Subject: Re: [sane-devel] Help on Xsane. To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-15" On Thursday 10 August 2006 12:46, Rupesh Tarpara wrote: > > My device is capable of scanning images in different formats (jpeg, Tiff, > bmp ) depending on scan settings. > > In what format the Frontend (eg. Xsane, I am using it for testing) expects > image data from backend? (raw or any of jpeg, Tiff, bmp) > > Rupesh. Hi, this has already been answered, so no need to double post! Ciao, Gerhard ------------------------------ http://www.patni.com World-Wide Partnerships. World-Class Solutions. _____________________________________________________________________ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [email protected] and delete this mail. _____________________________________________________________________ From [email protected] Fri Aug 11 08:07:22 2006 From: [email protected] (Jon Chambers) Date: Fri Aug 11 08:09:02 2006 Subject: [sane-devel] Help on Xsane. In-Reply-To: <[email protected]> References: <[email protected]> Message-ID: <[email protected]> Hi Rupesh, On Fri, 11 Aug 2006, Rupesh Tarpara wrote: > Thanks for the information allan, I have one more doubt. > The SANE standard (section 3.2) just tells about image transmission, it did > not gave me details about image file format. > Different devices have different file formats for RAW image such as > raf (Fuji) > .crw .cr2 (Canon) > [...] The SANE API knows none of these, just raw RGB or greyscale. Take another look at the spec - the information really is all there. If your scanner sends you some special format then the SANE backend must translate it to raw data, eg: the dell1600n_net backend receives colour scans in JPEG format for which it uses libjpeg to convert to RGB data. cheers, Jon ====================== Jon Chambers ===================== http://www.jon.demon.co.uk, 020 8575 7097, 07931 961669 =========================================================
