06-06-2015, 10:47 AM | #1141 |
Groupie
Posts: 154
Karma: 26294
Join Date: Oct 2013
Device: kindle keyboard,kindle touch,PB touch lux
|
I have a mobi format dictionary, can you help to convert to Kobo format?
thanks. |
06-07-2015, 05:16 PM | #1142 |
Addict
Posts: 341
Karma: 1244808
Join Date: Oct 2012
Device: Kindle Paperwhite
|
Does Kindle Unpack support azw6 files? I tried to unpack it but it didn't work. I got error message.
|
Advert | |
|
06-08-2015, 10:00 AM | #1143 |
Sigil Developer
Posts: 7,630
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hi,
No. azw6 files are not ebooks. They are just a container for high res images. I do have an experimental python script to try and dump these images but have found that some contain Windows only image media-types instead of jpegs which makes them pretty worthless unless you have access to a Windows machine and are willing to convert them one by one to something useable. Let me know if you want me to post the experimental command line python script. KevinH |
06-08-2015, 10:02 AM | #1144 |
Sigil Developer
Posts: 7,630
Karma: 5433388
Join Date: Nov 2009
Device: many
|
hi,
No. KindleUnpack does understand a subset of mobi dictionary formats and can unpack some of them to html. I have no idea what a Kobo dictionary format looks like so you are on your own converting from html to that format. KevinH |
06-08-2015, 11:58 AM | #1145 |
Sigil Developer
Posts: 7,630
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Rough Script to dump High Res images from AZW6
Hi All,
Just in case there was any interest in seeing/using the images in AZW6 files, I have attached a quick and dirty python command line program to unpack the contents of an non-drm azw6 file to a folder of images. I have added no smarts for using full unicode at the command line in python 2, so be careful to change paths/filenames to be pure ascii if running under python 2. Hope this helps, KevinH Last edited by KevinH; 06-08-2015 at 03:29 PM. |
Advert | |
|
06-19-2015, 10:11 PM | #1146 |
Enthusiast
Posts: 33
Karma: 12694
Join Date: Aug 2014
Device: kindle paperwhite
|
Question, I want to use Amazon's "location" information to extract text from a mobi. Can these scripts help with that?
To get more specific, "location" supposedly corresponds to 128 byte chunks of data and my plan is to just grab the chunks that went missing from my annotations due to DRM. But maybe I will be messing up some metadata with this approach? Otherwise can these scripts help me decode the location chunks? Thanks ! |
06-20-2015, 01:41 AM | #1147 | |
The Grand Mouse 高貴的老鼠
Posts: 71,495
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
Good luck. |
|
06-20-2015, 10:59 PM | #1148 |
just an egg
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Not to be pushy, Applescript Master The Grand Mouse pdurrant, but might you consider updating the first post in this thread with the latest KindleUnpack and an updated Applescript?
I am content running the python script if you don't have time, but if so, your Applescripts are so nifty and much appreciated Merci. |
06-21-2015, 04:36 AM | #1149 |
The Grand Mouse 高貴的老鼠
Posts: 71,495
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
The first post is now updated with version 0.80 of the KindleUnpack code, and I've updated the AppleScript to include that code, and also modified it so that it works correctly on Mac OS X 10.10 (Yosemite).
|
06-21-2015, 01:33 PM | #1150 |
just an egg
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Thank you muchly kind sir! You and all the other programmer/developers here at MobileRead totally ROCK!
|
06-21-2015, 07:53 PM | #1151 |
Enthusiast
Posts: 33
Karma: 12694
Join Date: Aug 2014
Device: kindle paperwhite
|
So I've been working on a script for this and I'm finding the offsets are all off. It doesn't appear to be a constant offset so my guess is that this raw HTML somehow doesn't correspond to the location data. Is that likely to happen?
|
06-22-2015, 04:26 AM | #1152 | |
The Grand Mouse 高貴的老鼠
Posts: 71,495
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
Or perhaps locations are calculated off some derivation of the RAWML. Or you're looking at different versions of the book. (Some devices will receive the KF8 version (if available) and some will receive the MOBI version.) I suspect you'll need to dig into the details of formats and how they're interpreted to be able to make sense of this. And even then, Amazon locations may have some other fiddle-factor applied to them. Perhaps they only relate to visible displayed characters or something? |
|
06-22-2015, 05:49 AM | #1153 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I believe a location is 150 bytes of data (markup and all) instead of 128. I can't remember if that's compressed or uncompressed, but the total number of locations in a book is bytes/150+1. Perhaps that's why your offsets seem "off."
The 128 bytes is an ADE "page." |
06-22-2015, 10:55 AM | #1154 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
The details on Kindle pagenumber offsets should be in calibre's Kindle device driver code.
|
06-25-2015, 01:51 AM | #1155 | |
Enthusiast
Posts: 33
Karma: 12694
Join Date: Aug 2014
Device: kindle paperwhite
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can i rotate text and insert images in Mobi and EPUB? | JanGLi | Kindle Formats | 5 | 02-02-2013 04:16 PM |
PDF to Mobi with text and images | pocketsprocket | Kindle Formats | 7 | 05-21-2012 07:06 AM |
Mobi files - images | DWC | Introduce Yourself | 5 | 07-06-2011 01:43 AM |
pdf to mobi... creating images rather than text | Dumhed | Calibre | 5 | 11-06-2010 12:08 PM |
Transfer of images on text files | anirudh215 | 2 | 06-22-2009 09:28 AM |