After more investigation, it MAY be related to your plugin after all. I don't know enough about this, but here's what I find:
Case 1: KFX Manga. Cover Image A very large (1600x2560px). Same in Calibre and KFX => Library OK, Lock screen OK, first page cropped out.
Case 2: KFX Manga. Cover Image A large (1375x2200px). Same in calibre and KFX => All OK
Case 3: KFX Manga. Calibre Cover Image A. KFX Cover Image B. => All show image B, with the first page of the book show Image B as if it was Image A (Image B is smaller than A, so it's left-top aligned with blank space on the right and bottom).
Case 4: KFX Book. Calibre Cover Image A. KFX Cover Image B. => Same as above.
Case 5: Transfer KFX without calibre. No problem in any cases I tested.
I also checked and apparently KFX file sent by calibre has different size than KFX file on disk, so I am guessing calibre did something with the file during upload. I try to read the code, but I can't figure it out if it's calibre's doing or either KFX Input/Output plugin doing.
Here's my speculation:
The first page of KFX book (the cover) is displayed with the cover image in calibre library, but with the original stylesheet. Since the lock screen cover and cover thumbnail in library doesn't care about style, it displays correctly.
Something along the way probably also downsize the cover to 1375x2200px, triggering the problem for high-res cover image.
If it's EPUB to KFX conversion in calibre, no problem since the cover image is directly the same.
My workflow triggers this problem since the cover image in calibre is the original color image from KF8 but the one in KFX is B&W as processed by KCC.
Note: I have metadata management set to 'Automatic management' in calibre. Not sure if this is relevant.
It's really not a big deal at all (as it's okay in the most important place: library and lock screen), but if you can look into it I'd appreciate it nonetheless. Anyway, thank you for reading this far.
|