ScerIO / epubx.dart

Epub Reader and Writer for Dart
MIT License
40 stars 85 forks source link

epubx : .CoverImage doesn't seem to work #4

Open sidetraxaudio opened 3 years ago

sidetraxaudio commented 3 years ago

Describe the bug As reported in the original pre-fork version, After EpubReader.readBook loads an epub, most epubs fail to return anything from (loadedBook).CoverImage

To Reproduce loadedBook = (await rootBundle.load(bookPath)).buffer.asUint8List();
works fine currentBook = EpubReader.readBook(loadedBook);
works fine bookCoverImage= currentBook.CoverImage; Always seems to return null

Expected behaviour A returned image object containing data

Additional context See Issues section of original package that this is a fork of.

RomanSoviak commented 1 year ago

Have the same issue

AsimBhadra commented 7 months ago

Same issue