06-11-2014, 08:55 AM | #1 |
Connoisseur
Posts: 86
Karma: 470352
Join Date: Dec 2012
Device: Kindle Fire, IPad
|
Kindle Fixed Layout file size too big
Need to revisit this question as I see 4 to 5 different answers from different dates. Earliest is 2010 latest is 2012.
I have a Kindle Fixed Layout .mobi file which is 115mb ( content is ALL images and I cannot lower the quality or they will be blurry) am I going to be able to upload this .mobi to Amazon without a problem? I'm sure I'm not the only self publisher who has this problem as many children's books go over the 50mb limit. Can someone give me a 2014 answer as there HAS to be a way as Ive seen a lot of books published on Amazon way over 50mb. anyone? thx HI |
06-11-2014, 12:03 PM | #2 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Amazon recently officially revealed that there's switch that will prevent KindleGen from attaching the source files thus greatly reducing the overall file size: -dont_append_source
For example: Code:
KindleGen -dont_append_source my.epub You could also add the -c2 parameter for added compression: Code:
KindleGen -c2 -dont_append_source my.epub |
Advert | |
|
06-11-2014, 12:49 PM | #3 |
Connoisseur
Posts: 86
Karma: 470352
Join Date: Dec 2012
Device: Kindle Fire, IPad
|
Now thats an answer, great! And thanks but I see I'm able to add the code to the Kindlegen terminal wise, but I normally take the content.opf file and open it in my Kindle Previewer which generates the mobi.
Can I do this manually using unpacking the .mobi and adding the code then repeat OR do I have to use KindleGen? thx HI |
06-11-2014, 01:10 PM | #4 |
Connoisseur
Posts: 86
Karma: 470352
Join Date: Dec 2012
Device: Kindle Fire, IPad
|
Just looked at a tuts how to use Kindlegen, pretty easy but after I drag the content.opf file when I hit enter KG compiles the .mobi but where and when do I add the additional code?
R |
06-11-2014, 01:10 PM | #5 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
(Kindle Previewer uses KindleGen in the Background.) If you're "command line challenged," try the following: 1. Make a backup copy of your source files. 2. Download Kindlegen and extract Kindlegen.exe to the folder that contains the .opf file: 3. Create a text file with Notepad and paste following text into it: Code:
DEL conversion.log FOR %%f IN ("*.opf") DO ( kindlegen -dont_append_source "%%f" >> conversion.log ) Double-click kg.cmd and wait for the .mobi file to appear in the Explorer. If nothing happens, check conversion.log for error messages. If you want to give the -c2 parameter a try simply add it before -dont_append_source: Code:
DEL conversion.log FOR %%f IN ("*.opf") DO ( kindlegen -c2 -dont_append_source "%%f" >> conversion.log ) |
|
Advert | |
|
06-11-2014, 01:15 PM | #6 |
Connoisseur
Posts: 86
Karma: 470352
Join Date: Dec 2012
Device: Kindle Fire, IPad
|
I think I got it so I will just add
-dont_append_source THEN drag the content file into the terminal? If so add KindleGen -c2 -dont_append_source my.epub THEN drag the .opf to the terminal and hit enter? E |
06-11-2014, 01:15 PM | #7 |
Connoisseur
Posts: 86
Karma: 470352
Join Date: Dec 2012
Device: Kindle Fire, IPad
|
by the way I'm on a Mac
|
06-11-2014, 01:48 PM | #8 |
Connoisseur
Posts: 86
Karma: 470352
Join Date: Dec 2012
Device: Kindle Fire, IPad
|
Error I'm getting
Last login: Wed Jun 11 13:46:57 on ttys000 ralphiedees-Mac-Pro:~ tuneraider$ /Users/tuneraider/Downloads/GTLW_FILES/GTLW_KindleFixed/KindleGen_Mac_i386_v2_9/kindlegen /Users/tuneraider/Downloads/GTLW_FILES/GTLW_KindleFixed/content.opf KindleGen -c2 -dont_append_source ************************************************** *********** Amazon kindlegen(MAC OSX) V2.9 build 0730-890adc2 A command line e-book compiler Copyright Amazon.com and its Affiliates 2013 ************************************************** *********** Info:I9007ption: -c2: Kindle Huffdic compression Info:I9018ption: -donotaddsource: Source files will not be added Error(kindlegen):E30005: Could not find file KindleGen ralphiedees-Mac-Pro:~ tuneraider$ |
06-11-2014, 02:15 PM | #9 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-11-2014, 02:18 PM | #10 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Kindlegen -dont_append_source inputfilename outputfilename I don't see a need to use -c2 as it won't gain enough to be worthwhile. Also, you did leave out the name of the eBook and you also need to specify the output filename as well. |
|
06-11-2014, 03:05 PM | #11 |
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)
|
You used "/path/to/kindlegen /path/to/opf KindleGen -c2 -dont_append_source"
You should've used "/path/to/kindlegen /path/to/opf -c2 -dont_append_source" Try (no need for path to current dir, it makes things longer and more confusing): Downloads/GTLW_FILES/GTLW_KindleFixed/KindleGen_Mac_i386_v2_9/kindlegen Downloads/GTLW_FILES/GTLW_KindleFixed/content.opf -c2 -dont_append_source Kindlegen was looking for a file called "KindleGen" to convert. @JSWolf, I suggest you stop telling other people how worth their time it is to decrease the size of their book in order that they can actually upload it. Regardless of whether it does enough to decrease the size, it costs nothing but some time that can easily be spent doing other things away from the computer. Also, your command-line instructions have the momentous failure of having nothing whatsoever to do with the actual workings of this particular program... which you would know if you had tried running the program to see the instructions. Take note of the usage: Code:
C:\Documents and Settings\<username>\My Documents\Downloads\kindlegen_win32_v2_9>
kindlegen.exe
*************************************************************
Amazon kindlegen(Windows) V2.9 build 0731-890adc2
A command line e-book compiler
Copyright Amazon.com and its Affiliates 2013
*************************************************************
Usage : kindlegen [filename.opf/.htm/.html/.epub/.zip or directory] [-c0 or -c1
or c2] [-verbose] [-western] [-o <file name>]
Note:
zip formats are supported for XMDF and FB2 sources
directory formats are supported for XMDF sources
Options:
-c0: no compression
-c1: standard DOC compression
-c2: Kindle huffdic compression
-o <file name>: Specifies the output file name. Output file will be created i
n the same directory as that of input file. <file name> should not contain direc
tory path.
-verbose: provides more information during ebook conversion
-western: force build of Windows-1252 book
-releasenotes: display release notes
-gif: images are converted to GIF format (no JPEG in the book)
-locale <locale option> : To display messages in selected language
en: English
de: German
fr: French
it: Italian
es: Spanish
zh: Chinese
ja: Japanese
pt: Portuguese
ru: Russian
Last edited by eschwartz; 06-11-2014 at 03:15 PM. |
06-11-2014, 03:12 PM | #12 |
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)
|
I gave kindlegen a run on a random book (322 KB). Without "-c2" it was 708 KB. With "-c2" it was 539 KB.
Increased compression: 23% smaller results. Not bad. Without: Info(prcgen):I1039: Final stats - text compressed to (in % of original size): 53.29% With: Info(prcgen):I1039: Final stats - text compressed to (in % of original size): 35.44% I wouldn't be so quick to get all dismissive about trying the compression. All it costs it time, and honestly, not even all that much of it. Last edited by eschwartz; 06-11-2014 at 03:15 PM. |
06-11-2014, 03:19 PM | #13 |
Connoisseur
Posts: 86
Karma: 470352
Join Date: Dec 2012
Device: Kindle Fire, IPad
|
That worked thanks, got the file down to 65MB do I still have to get this down to 50 or under?
R |
06-19-2014, 05:48 AM | #14 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
BPH's use FTP, and thus, are exempt from those limits. HTH. Hitch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle fixed layout file size too big | holdit | Kindle Formats | 12 | 02-26-2014 04:41 PM |
mobi fixed layout file for desktop viewing | kelly33 | Kindle Formats | 3 | 11-26-2013 12:30 AM |
Opening Fixed Layout KF8 on Kindle 1,2. What happens? | FunkeXMix | Kindle Formats | 6 | 12-13-2012 06:20 AM |
(Fixed Layout) Kindle for iPad app? | jayz | Kindle Formats | 7 | 11-03-2012 06:00 PM |
Fixed Layout Sample ".mobi" file with package(html, css, opf, ncx files). | Sushil | Kindle Fire | 1 | 01-13-2012 07:16 AM |