ZeroPass / dmrtd

Dart library for reading Biometric Passport
Other
68 stars 34 forks source link

dg2, dg11 and dg12 parsed #8

Closed abdullahkaracabey closed 2 years ago

abdullahkaracabey commented 2 years ago

Some datas in dg2, dg11 and dg12 are parsed.

smlu commented 2 years ago

Thank you @abdullahkaracabey for this PR!

Taym95 commented 2 years ago

Hi, I tried it but it seems that Image is corrupted

eliasto commented 2 years ago

Hi, I tried it but it seems that Image is corrupted

The image is not corrupted. As said previously the image is encoded in jpeg 2000. Therefore, Flutter can't decrypt it since it's not a supported format. You have to convert it before in a readable format (like jpg, png, etc...).

Taym95 commented 2 years ago

@eliasto thank you for response, any idea how did you manage to decode jpeg 2000?

abdullahkaracabey commented 2 years ago

@eliasto thank you for response, any idea how did you manage to decode jpeg 2000?

I researched same thing, but nothing found. jpeg2000 is not supported for now. You can decode on server side.

Taym95 commented 2 years ago

I am working on something, will share it soon!