ZeroPass / dmrtd

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

Show Photo from DG.EF2 #12

Closed KevinMeyerZ closed 1 year ago

KevinMeyerZ commented 1 year ago

how do i get the photo from nfc to show up ?

smlu commented 1 year ago

The EF.DG2 file has to be parsed in order to get the raw image data. The develop branch has implemented parsing of this file, see efdg2.dart. The image is usually encoded in JPEG-2000 format which is not currently supported by the flutter and you will have to provide your own conversion method in order to display passport image in flutter.

See also #9

KevinMeyerZ commented 1 year ago

thanks a lot, it works

zamirszn commented 11 months ago

thanks a lot, it works

Hello, how were you able to extract the image