Griaule Biometrics

Home » Forums » FINGERPRINT SDK » GrFinger 4.1 (ARCHIVE) » Size of template.getData() greater than template.getSize()
1 reply [Last post]
felipeh2
Offline
Joined: 2008-10-21
Rate this post:
0
No votes yet
Size of template.getData() greater than template.getSize()

Hi all,

template.getData() returns a byte array and its size is very much greater than the size obtained by template.getSize().

Even in our code, we use only a fixed number of bytes (specified by template.getSize()) from template.getData:

preparedStmt.setBinaryStream(1,new ByteArrayInputStream(template.getData()),template.getSize());

Why do we have this behavior and why cannot template.getData() just return a byte array with size specified by template.getSize()?

Thanks in advance,
Shiva

JB
Offline
Joined: 2010-09-15
Rate this post:
0
No votes yet

Dear customer,

 

Just to remember that a template is an array of bytes generated by the Extract method, that have to be save as a blob (binary large object) field in the database.

We recommend to download the SDK 2009, from this link: http://www.griaulebiometrics.com/page/en-us/downloads

If you have more doubts, let's us know.

 

---------------------

 

Jan Beeck

Griaule Support Team