fire-eggs / DarkThumbs

Adds thumbnail preview to Windows Explorer for EPUB, FB2 and Kindle ebooks; CBZ, CBR, RAR and ZIP archives.
428 stars 23 forks source link

EPUB3 support #31

Closed fire-eggs closed 2 years ago

fire-eggs commented 2 years ago

Copied over from issue #15

After doing that, I've noticed that no covers are displayed for EPUB3 files, but I think that this format isn't fully supported yet. You can't probably read an AZW3 file in an ebook reader, and as for Calibre, which supports any format, it's able to read the ebook, but it doesn't provide the cover either. Therefore, there must be something tricky about covers in EPUB3.

Just in case, I've created a ZIP file containing EPUB3 ebooks from Standard Ebooks (https://standardebooks.org/):

https://drive.google.com/file/d/1Lvfj9IQLMzXvTqnch1FpbZNLskuXskma/view?usp=sharing

Again, there must be something peculiar about this format, as it's hard to find support for it, so don't bother too much. Thanks!

vivadavid commented 2 years ago

Hi! I'm not sure if you've done something to support EPUB 3 files in the updated 1.4 version, but just in case, the covers are still not shown.

fire-eggs commented 2 years ago

I've found two things going on with EPUB3 files [using the samples you helpfully provided!!]

  1. The standard has changed. The metadata tags which specify the cover image are different from what DarkThumbs is searching for.
  2. The standard fallback - i.e. to use the first found image - isn't working with the samples because the cover is a SVG file. DarkThumbs V1.x doesn't support SVG images.

My thanks for bringing this to my attention!

vivadavid commented 2 years ago

Hi, @fire-eggs !

Judging by the comments I've been reading for a while, I knew there was something tricky about the EPUB3 format: not even Calibre can display the cover of these ebooks. I don't think there are many EPUB3 ebooks around anyway. Standard Ebooks, for example, provides their ebooks in three other formats: AZW3, EPUB and EPUB for Kobo.

Thank you spending time on this issue!

fire-eggs commented 2 years ago

The "EPUB3" metadata issue was fixed. Lack of SVG support tracked in issue #34. Nothing further to do for this issue.

vivadavid commented 2 years ago

Thank you, @fire-eggs ! Will you be releasing an update soon?

fire-eggs commented 2 years ago

The sample EPUB3 files [those without SVG] have been working for some time now. I'm not sure why I didn't close this issue earlier.

But yes, I'm working on a minor update to release "soon".

vivadavid commented 1 year ago

Hi, @fire-eggs,

Any updates on this? I still can't see the thumbnails for epub3 files (for example, those downloaded from the Standard Ebooks website).

Thanks in advance!

fire-eggs commented 1 year ago

Hi, David. Thanks for the query! Due to a family crisis, I lost the latter half of 2022. Picking up the pieces I hope to get back on this with the New Year 2023.

Please watch issue #34 : the "advanced epub"s from Standard Ebooks belong in that issue.

vivadavid commented 1 year ago

Hi, David. Thanks for the query! Due to a family crisis, I lost the latter half of 2022. Picking up the pieces I hope to get back on this with the New Year 2023.

Please watch issue #34 : the "advanced epub"s from Standard Ebooks belong in that issue.

Sorry to hear about your family crisis. I hope things get better.