[sane-devel] Converting Raw Image Data to PNG

Chris Moller moller at mollerware.com
Fri Jan 10 15:52:10 GMT 2020

ufraw and dcraw will handle that conversion.

On 10/01/2020 00:09, daniel at pixelgrease.co wrote:
> Hello,
> I have been trying to get a device running for a few weeks now. After 
> failing to build a backend I decided to hack together my own LibUSB 
> driver for my unsupported A8 scanner, given my use case is pretty 
> simple I went in with a "how hard can it be?" attitude.
> Great success so far. Hasn't been easy but it hasn't been really that 
> bad. I have managed to ask my tiny A8 feed scanner to scan a 300dpi 
> colour image. I have been able to save the data to a file (about 8mb 
> worth) but that's where the fun ends.
> Can't seem to figure out how to get that raw data into a usable 
> format. 2 questions:
> 1. What format is that raw data likely to be? I naively expected it to 
> be png.
> 2. Does SANE have some code that handles that sort of conversion I 
> could have a look at? Looked around the internet and the SANE docs. 
> Read some things about frames, but couldn't find much else.
> Daniel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20200110/aef9831d/attachment.html>

More information about the sane-devel mailing list