![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2014
Location: Vancouver, Canada
Device: none
|
image blurred with kindlegen, looks great in epub
I'm building an e-book for friends. Some have kindle devices, some use iBooks on an iPad.
The e-book is a reference document with a large map (6000 X 4200 pixels) done up in GIMP mostly black and white, with a blue river. The map is saved as a 465KB .gif file. I build the epub using pandoc and markdown as follows Code:
pandoc -S --epub-metadata=metadata.xml -o guide.epub title.txt 01_intro.markdown 02_setting.markdown 03_rules.markdown For my friends with kindle, I then use Amazon kindlegen(Linux) V2.9 build 0730-890adc2 like so: Code:
~/Kindlegen/kindlegen -c0 -gif -verbose -o guide.mobi guide.epub On the Kindle app, the image looks blurred at high zoom. It looks like it has been compressed even though I have set the -c0 option for no compression. Some of the text on the map is unreadable. I know it is working in the epub format. Is there a better way to transform a working epub file to kindle format other than kindlegen? Or do I have the syntax wrong for the creation of the mobi? Or should I use a different image format, other than gif? This post https://www.mobileread.com/forums/sho...d.php?t=203580 implies the gif is over the 127KB max image size, but this amazon kdp URL https://kdp.amazon.com/help?topicId=A1B6GKJ79HC7AN says "The Kindle book format supports JPEG and GIF image files up to 5MB. " Thanks for your suggestions. Ben Bash |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2014
Location: Vancouver, Canada
Device: none
|
Hello. Does anyone have a suggestion on how to improve the quality of a large image for kindle (.MOBI) format?
Thank you, Ben Bash |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,356
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You need to view the file on a device that supports the KF8 format (which should allow higher resolution images). When sideloading to an iPad, you're only seeing the mobi format (which doesn't support higher resolution images). Or ... the newest version of KindlePreviewer should allow you to produce an AZK file--which is specifically designed for sideloading to the Kindle app on an iOS device.
Your friends' Kindle devices would very likely be able to view the KF8 portion of the file you produced (rather than the lower quality MOBI portion). |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2014
Location: Vancouver, Canada
Device: none
|
Thank you for the response. I really appreciate it. I will check out KindlePreviewer and update this thread on how it goes.
Thank you, Ben Bash |
![]() |
![]() |
![]() |
#5 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
To prove it to yourself, simply download the Preview mobi and use MOBIunpack to see the image file in the results. You're embedding that file wildly too large, by a factor of nearly ...lord, I can't even do the math this late at night. Reduce it, firstly, to at most 2560x1600 (use whichever dimension limiter suits you), and see what that gets you. That's the actual available rez for an HDX 8.9", and it will get you a lot of zoom-ability. Amazon adds to their dimensions the admonition to save the images "at a rez of 350ppi," even though the pixel-by-pixel dimension saving should put paid to that. Try that. Trying an image that's 25mexapixels is just...too much. At least start by reducing the figures by half, and work down from there to get to a suitable resolution. You are, after all, trying to cram a 20" x 14" image (more or less) onto a very small screen, in the case of most readers. Going from 280 square inches of image to a screen that, on average, has 16.62" of square inch space is a pretty big cram. Like all images that are either enlarged far beyond their original pixels, or reduced in the other direction by the same amount, "images of text" will become heavily pixilated or fuzzy (also: if the text isn't anti-aliased, you'll run into issues there, as well). Hope that helps. You can't expect the same type of image results from the iBooks app--which won't compress an image at all that's uploaded in an ePUB, to the results in a MOBI file, which ARE being compressed, and from your numbers, compressed quite a lot. You'll likely find you have to play with the image quite a bit, to get a result with which you are reasonably happy. Hitch |
|
![]() |
![]() |
Advert | |
|
![]() |
Tags |
epub, kindle, pandoc |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
kindlegen - center image using CSS only? | mjwilson | Kindle Formats | 4 | 09-18-2012 06:02 AM |
KindleGen INCREASES image file size? | Oxford-eBooks | Kindle Formats | 13 | 09-14-2012 07:10 AM |
Warnings using KindleGen – epub to mobi | novation | Kindle Formats | 7 | 03-12-2012 12:51 PM |