![]() |
#601 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,280
Karma: 314882616
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
Once you've successfully imported the ebook into calibre, just use the calibre GUI to convert the book to ePub. No need for the command line at all. |
|
![]() |
![]() |
![]() |
#602 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,897
Karma: 88991011
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Version 2.6.0 - 28 Nov 2023
Add the ability to convert fixed-layout books to CBZ format using the plugin's command line interface. Do not produce a .kfx-zip file if only a single KFX file without DRM is found on import. Ignore any AppleDouble files present in .kfx-zip files under MacOS. (Fixes "Unable to determine KFX container type of __MACOSX/B0000000_EBOK/._B0000000_EBOK.azw (00 05 16 07 00 02 00 00)'") |
![]() |
![]() |
Advert | |
|
![]() |
#603 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 67
Karma: 40919
Join Date: Sep 2012
Device: Kindle Paperwhite 3, Apple iPad Air 3, Apple iPhone 16 Pro, iMac M3
|
Quote:
Code:
calibre-debug -r "KFX Input" -- -e -p mybook.kfx Quote:
|
||
![]() |
![]() |
![]() |
#604 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,897
Karma: 88991011
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
It means that there are errors in the PDF file extracted from KFX format. The result is that some internal links between pages of the PDF will not function. There is nothing you can do to fix or prevent this. It is a consequence of Amazon's mangling of the PDF during conversion to KFX format.
|
![]() |
![]() |
![]() |
#605 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2023
Device: none
|
![]()
I've been down a rabbit hole today that has lead me here.
I built a web based comic book reader I've been using to publish comics my friends and I are making together. I've been coding in the panel positions on each page by hand and was working GUI to label the panels more quickly when I just discovered the Kindle Comic Creator which does almost exactly what I need but creates the .kpf files that this plug-in seems to be able to export. My questions is, is there a feasible way to use Amazon's tool then use this KFX Input plug-in to export a file with the panel positions/dimensions for each page? I've tried exporting a few of the formats from the plug-in but haven't found anything that actually looks like that information to me. Thanks so much for the awesome tool. Cheers. |
![]() |
![]() |
Advert | |
|
![]() |
#606 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,897
Karma: 88991011
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
There will be no simple list of panels anywhere in there. Instead it has instructions for magnifying the page so that each panel will be enlarged to fill the screen. You should be able to reverse engineer approximate panel dimensions and positions from that. What you want to do might be possible, but will be very difficult. I recommend finding a different approach. |
|
![]() |
![]() |
![]() |
#607 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2023
Device: none
|
Quote:
Code:
<div id="magnify_source_1346" style=" height: 535px; left: 1279px; position: absolute; top: 2422px; width: 419px; " > |
|
![]() |
![]() |
![]() |
#608 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2023
Device: none
|
Thanks!
Just wanted to say thanks as someone who loves buying books on amazon but hate DRM I'm happy that we have a new way to get rid of DRM again! Thanks so much people in mobileread!
|
![]() |
![]() |
![]() |
#609 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2023
Device: none
|
Quote:
When I compare the output jpg files to the unpacked resources from the KFX (-u in the CLI), I notice more jpg compression artifacts and some distortion with images (like some lines looking more jagged and less vibrant when compared to the unpacked resources tiles or a full sized screenshot from the Kindle app). Is the output jpg quality compression something that could be adjusted higher or losslessly? Or is the quality being affected by the ePub 3 conversion happening in the middle? If so, would there be a way to lessen the compression that seems to be occurring on images in the epub conversion? It's just something that I've noticed when I zoom in on things while reading. Thank you! |
|
![]() |
![]() |
![]() |
#610 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,897
Karma: 88991011
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
The current version of the plugin combines the tiles into a single JPEG image with approximately the same quality as the original tiles. That can lead to some slight degradation and artifacts. The next release of the plugin will instead produce a PNG image that will capture the content of the original tiles losslessly. Another possible source of image changes is calibre itself. If you convert using the calibre conversion routine instead of the plugin CLI there can be rescaling of large images unless you set the Output Profile to Tablet. |
|
![]() |
![]() |
![]() |
#611 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2023
Device: none
|
Quote:
If you happen to need a tester for the new version, I wouldn't mind helping out and testing the PNG functionality. In the meantime, I look forward to the next version of the plugin! Thank you again! |
|
![]() |
![]() |
![]() |
#612 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,897
Karma: 88991011
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
Quote:
I am working on some other changes at the moment. I expect the next plugin release to be sometime around the end of the year. |
||
![]() |
![]() |
![]() |
#613 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,897
Karma: 88991011
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Version 2.7.0 - 30 Dec 2023
Add an internal User Interface Action plugin to KFX Input. This provides much of the same functionality as the KFX Input command line interface (CLI) without the need to leave the calibre GUI. It allows conversion of books from KFX to EPUB, PDF, and CBZ formats without using the calibre conversion pipeline. Doing that avoids problems with fixed-layout books that are not well supported by calibre. Enable this feature by going to Preferences, Toolbars & menus, select "The main toolbar" from the dropdown menu, locate and select "From KFX" in the Available Actions list on the left, and click the right pointing arrow to move it over to Current Actions. Produce PNG instead of JPEG to prevent any loss of image quality when reconstituting high definition images that were split into tiles for KFX format. The plugin configuration option "Allow import of KFX format books from Kindles" replaces the no longer supported plugin tweak "kfx_input_set_format_virtual". Include basic metadata in PDF and CBZ files created by conversion from KFX. Ignore the case of file extensions. |
![]() |
![]() |
![]() |
#614 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2023
Device: Kindle
|
No able to convert Kindle book
Ikeep getting an error when trying to convert. Here is the log. Any help will be much appreciated.
Software versions: KFX Input 2.7.0, calibre 6.23, Windows-10-10.0.19045-SP0 KFX Input plugin help is available at https://www.mobileread.com/forums/sh...d.php?t=291290 Converting C:\Users\myuser\AppData\Local\Temp\calibre_fkacytb 0\h8vt6q1h.kfx-zip Processing container: XXXXXXXXXX_EBOK.azw Traceback (most recent call last): File "calibre_plugins.kfx_input.__init__", line 102, in convert File "calibre_plugins.kfx_input.kfxlib.yj_book", line 212, in decode_book File "calibre_plugins.kfx_input.kfxlib.yj_book", line 321, in get_container calibre_plugins.kfx_input.kfxlib.utilities.KFXDRME rror: Book container XXXXXXXXXX_EBOK.azw has DRM and cannot be converted During handling of the above exception, another exception occurred: Traceback (most recent call last): File "runpy.py", line 196, in _run_module_as_main File "runpy.py", line 86, in _run_code File "site.py", line 83, in <module> File "site.py", line 78, in main File "site.py", line 50, in run_entry_point File "calibre\utils\ipc\worker.py", line 215, in main File "calibre\gui2\convert\gui_conversion.py", line 38, in gui_convert_override File "calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert File "calibre\ebooks\conversion\plumber.py", line 1108, in run File "calibre\customize\conversion.py", line 242, in __call__ File "calibre_plugins.kfx_input.__init__", line 121, in convert calibre.ebooks.DRMError: This book has DRM! |
![]() |
![]() |
![]() |
#615 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,897
Karma: 88991011
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Conversion Input] Microsoft Doc Input Plugin | igi | Plugins | 76 | 06-28-2019 05:47 AM |
KFX conversion, transfer back to library issue. | shoelesshunter | Conversion | 2 | 08-22-2017 07:40 PM |
[Conversion Input] LaTeX Formulas Input Conversion Plugin | sevyls | Plugins | 0 | 03-23-2015 06:52 AM |
[Input Plugin] DOCX Input | SauliusP. | Plugins | 42 | 06-05-2013 05:01 AM |
Looking For MHT Input Conversion Plugin | FlooseMan Dave | Plugins | 4 | 03-30-2010 06:52 PM |