![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,789
Karma: 64828995
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, iPad, Nexus 7
|
[Conversion Plugin] KFX Input
KFX Conversion Input Plugin
The KFX Input plugin allows books in Amazon KFX format to be imported and converted to other e-book formats, such as EPUB, for archival and for reading on alternate devices. The plugin can convert from several KFX variants: Monolithic KFX, KFX-ZIP, or KPF. Amazon uses KFX format for the delivery of most e-books to customers. It supports advanced features, including Enhanced Typesetting and Page Flip, on Amazon apps and devices. More information about the KFX format can be found in the KFX Format thread and the MobileRead Wiki (KFX). Amazon's KF8 (azw3) format is superior to KFX as a source for conversion since it more closely matches the original format provided to Amazon by the publisher. This plugin has limited usefulness as long as KF8 is still easily obtainable. Some cases where KF8 is not available are Arabic, Indian and Traditional Chinese language books/dictionaries, books produced using Kindle Create, Kindle in Motion books with animation, Interactive Textbooks with A/V media, and some newer eTextbooks. In most other cases KFX can be avoided. See the thread Dealing with Kindle for PC/Mac 1.19 and KFX in calibre for details. Books in KFX format delivered by Amazon are a bundle of files composed of an encrypted main container, a metadata container, auxiliary containers (zero or more) and a DRM voucher. Those each contain only part of the book's content and cannot be converted individually. KFX container files typically have a ".kfx" extension, though other extensions (".azw", ".azw8", and ".azw9") are used by some software. This plugin will combine the individual files that make up a KFX book into a single file (monolithic KFX format) when a KFX book is successfully imported into calibre. See "Importing KFX books into calibre" below for instructions. Monolithic KFX can also be produced using the KFX Output plugin. Monolithic KFX can be converted to other formats using this plugin. DRM removal for KFX format is only possible in specific situations, limiting the usefulness of this plugin. See "DRM Concerns" below for more information. Amazon's Kindle Textbook Creator and Kindle Create software export books in KPF (Kindle Package Format), a variant of KFX, for publishing on Amazon. This plugin allows conversion from KPF to other e-book formats. (Note: Starting with version 1.70.0.0, Kindle Create has the ability to export reflowable books in EPUB format, eliminating the need to convert from KPF format in order to obtain a usable copy of the finished book.) Starting with calibre version 4.12, calibre will extract the embedded Word document from KPF files that contain one and import the file as DOCX instead of KPF. This DOCX file will not contain any edits made using Kindle Create. If import of the actual KPF file is desired instead you will need to disable the KPF Extract file type plugin by going to Preferences, Plugins, and clicking the arrow to expand the File Type category. Highlight the plugin named KPF Extract and press the Enable/disable button so that it is grayed out. Installation: Install the KFX Input plugin and restart calibre as described in the Introduction to plugins thread. Configuration: Spoiler:
DRM Concerns: Spoiler:
Importing KFX books into calibre for conversion: Spoiler:
Viewing books in KFX format: Spoiler:
Converting from KFX or KPF to other formats: Spoiler:
Converting Print Replica Books: Spoiler:
Generating content/position information: Spoiler:
Dealing with conversion errors: Spoiler:
Reading book metadata: Spoiler:
Command Line Interface: Spoiler:
Limitations: Spoiler:
Version History: Spoiler:
Last edited by jhowell; 11-16-2022 at 11:36 AM. Reason: version 1.50.0 |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,789
Karma: 64828995
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, iPad, Nexus 7
|
Reserved post
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,475
Karma: 2733616
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
|
Awesome! Thank you, jhowell, for all your work unraveling KFX and making it more accessible to all!
Last edited by odamizu; 10-16-2017 at 02:53 PM. |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,789
Karma: 64828995
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, iPad, Nexus 7
|
Quote:
I know that this plugin isn't especially useful right now given the continued availability of KF8 and the lack of automatic DRM removal for KFX. But I thought it would be best to be prepared in case this capability is needed in the future. |
|
![]() |
![]() |
![]() |
#5 | |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,475
Karma: 2733616
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
|
Quote:
![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,946
Karma: 11238963
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you very much, perhaps some of the things which you say they limit its usefulness will disappear in a near future.
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,974
Karma: 13345353
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
+1. Not that I expect EPUB to go anywhere, as Amazon has no control over it, but KF8 might.
|
![]() |
![]() |
![]() |
#8 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,475
Karma: 2733616
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
|
|
![]() |
![]() |
![]() |
#9 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69,710
Karma: 302000000
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Thank you for this most impressive bit of work.
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 23
Karma: 10
Join Date: Sep 2017
Device: kindle paperwhite2
|
I do not think this is unuseful right now since Epubor has update this software to remove Kindle KFX DRM yesterday. Unfortunately, they can not convert KFX. This is really what I need. Thanks for your contribution.
Last edited by Iris-maybe; 10-19-2017 at 12:21 AM. |
![]() |
![]() |
![]() |
#11 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69,147
Karma: 114842697
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
epubor is a rip-off of Calibre (overall).
|
![]() |
![]() |
![]() |
#12 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,475
Karma: 2733616
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
|
|
![]() |
![]() |
![]() |
#13 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69,147
Karma: 114842697
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#14 |
o saeclum infacetum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,397
Karma: 210087044
Join Date: Oct 2010
Location: New England
Device: H2O, Aura One, PW5
|
The rest of this conversation has been moved to a new thread here, per request. Please continue the conversation along those lines there; this thread is for the support of the KFX Input plugin only.
|
![]() |
![]() |
![]() |
#15 |
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Jan 2018
Device: kindle oasis 2017
|
I have decent luck so far, but one book "inferno" by dan brown won't convert to kfx. It seems to be any image files from what I can tell. If I removed the first graphic symbol on one of the pages, the next time i convert it errors on a further page... Any way to keep the graphic elements and still convert?
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
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 |