On Tue, Jan 12, 2016 at 12:03 AM, José Vilmar Estácio de Souza <[email protected]> wrote: > Hi Vasily. > Thanks for the answer. > If I understood correctly the example, I can save the image in pgm format. > What I need is the image exactly as it is captured from the reader so that I > can pass to a function that will convert to a wsq format. The function > receives the image in its raw format. > Thanks.
Use fp_img_get_data() to get binary representation. IIRC it's 8 bit per pixel, no line alignment. > > On 01/12/2016 05:33 AM, Vasily Khoruzhick wrote: >> >> Hi José, >> >> Yes, you can. See examples/img_capture.c in libfprint repo. >> >> Regards, >> Vasily >> >> On Mon, Jan 11, 2016 at 11:14 PM, José Vilmar Estácio de Souza >> <[email protected]> wrote: >>> >>> Hi all. >>> I'm wondering if I can use libfprint to capture a raw image of the >>> Fingerprint reader. >>> Thanks. >>> >>> -- >>> José Vilmar Estácio de Souza >>> >>> _______________________________________________ >>> fprint mailing list >>> [email protected] >>> http://lists.freedesktop.org/mailman/listinfo/fprint > > > -- > José Vilmar Estácio de Souza > _______________________________________________ fprint mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/fprint
