[sane-devel] problem setting custom resolution

stef stef-listes at wanadoo.fr
Fri Aug 22 09:18:07 BST 2003


On Tue, Sep 23, 2003 at 10:34:13AM +0530, aneesh m raj wrote:
> Hi all,
> Im trying to read the scanned data using sane form UMAX 2000p but when i set a custom resolution the read is causing some problem. This is my code.
> 
....
> any help is appreciated
> Aneesh


	Hello,

	I've read it, and seen nothing wrong at first glance. One thing to check
would be that write_pnm_header() creates a correct header regarding the given
parameters. Also, the read seems to be done in a thread, if it is the case, get sure
that the thread do not use the parameters before they are set.

Regards,
	Stef



More information about the sane-devel mailing list