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.
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.