ZeroPass / dmrtd

Dart library for reading Biometric Passport
Other
43 stars 19 forks source link

dg2, dg11 and dg12 parsed #8

Closed abdullahkaracabey closed 1 year ago

abdullahkaracabey commented 1 year ago

Some datas in dg2, dg11 and dg12 are parsed.

smlu commented 1 year ago

Thank you @abdullahkaracabey for this PR!

Taym95 commented 1 year ago

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

eliasto commented 1 year 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 1 year ago

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

abdullahkaracabey commented 1 year 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 1 year ago

I am working on something, will share it soon!