|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Is there a "fix" or work-around for Kindle doubleing size of small graphics?
For a while now, I've found it quite annoying that the Kindle doubles the size of small graphics. I'm not certain if this is a Kindle issue or a mobi issue. Either way, it is highly annoying and I've never really seen a good explanation for why this happens or how to keep it from happening.
I recently converted my epub versions of the Harper Collins Lord of the Rings ebooks to mobi so that I can have them on my Kindle. The problem is that there are a lot of small middle-earth characters that can't be reproduced except as graphics. They're small so that they appear in-line with the text flow. However, these look horrible on my Kindle since it doubles the size of the graphics. There are a lot of similar decorative characters and images that really make this an extremely beautiful, book-like, ebook. Unfortunately, the mobi version on my Kindle is horrible. I know of no way around this and am hopeful that someone on here may have some insights for me. Thanks in advance to any assistance anyone might be able to provide. Sincerely, - Byron |
![]() |
![]() |
![]() |
#2 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Use hisrc and the Kindle will display the image "as is", see MobiPocket's Image support and display.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
wallcraft,
Thanks very much for your reply. It does seem like I've seen this one somewhere before. There is one small problem though, it just doesn't work. I've tried it and the images don't appear at all when I change the src reference to hisrc. Is this a mobipocket creator only tag? Let me explain. Mobipocket Creator hasn't been updated in quite some time and from what little I've messed with it, it isn't very intuitive. I haven't found any "good" mobi creators/editors. I create most of my ebooks in epub using the excellent Sigil editor and then use Calibre to convert to mobi. I am able to create beautiful ebooks easily using this method in every respect except for anythinig that includes small graphics. So, what I'm wondering is, does this hisrc tag work only with Mobipocket Creator or am I just doing something else wrong? Basically, all I've done is change the src= reference to a hisrc= reference. I haven't "added" anything else. Maybe that's my problem. Maybe I need to leave the src reference and add an additional hisrc reference to the same image. Anyway, if this only works with Mobipocket Creator, I'm not certain it's worth learning a whole new tool for just a few books when I already have something that is so intuitive and easy to use. Please let me know if this is the case so I can decide if I want to try and start learning Mobipocket Creator. Thanks. - Byron |
![]() |
![]() |
![]() |
#4 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
I would certainly add src= as well as hisrc= since otherwise it won't work as an ePub.
I assume Sigil is preserving the hisrc in the ePub, so the problem is presumably with Calibre (and might go away if you also include src=). A simple test, without learning MobiPocket Creator, would be to import your ePub into MobiPocket Reader which will automatically convert it to MOBI (with no editing or metadata options). Then see if this MOBI works better on the Kindle. If that works, you can ask for Calibre to be updated to handle hisrc in ePub to MOBI conversion. Last edited by wallcraft; 11-11-2010 at 09:28 PM. |
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
|
Hi bfollowell
Should probably not reply to your post. I'm too new to this world of eBooks to comment on howto construct an ebook, but want to understand at least a bit. I bought Fall of Giants at Amazon for my new K3. The K3 was not able to show Ty with a "^" above the y; instead a largish image was used. I contacted Kindle/Amazon CS and got this reply: "We’ve received information from our technical team stating that, since Ty with a ^ accent mark on top of it is not supported by the Kindle, the publisher has correctly inserted this character as an image. It displays about twice as big as the rest of the text at font size 3. Please note that, currently Kindle doesn't support accented characters. Images don't change size when the font of text is changed, and leaving the image large means that readers who need larger font sizes are able to read the symbol." An the other hand I "found" a book in html format, converted to mobi using Calibre. No `´etc on the french words. Converting to RTF, using ... Word (aagh), Calibre to mobi worked. So the K3 CAN show these ( at least some ), but why these differences I wonder ? I just don't understand. Have a nice weekend, |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
This is totally untrue; the Kindle supports accented characters just fine. The only problem is that it doesn't support this particular character, which is why it's been inserted as a graphic in the book.
|
![]() |
![]() |
![]() |
#7 |
Enquiring Mind
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
|
This is something of a guess, so if it doesn't help, my apologies.
Where these character/graphics are used, do the IMG tags include height and width attributes? I've found that, on the Kindle, if the height and width attributes for an image aren't included, the Kindle will expand the image when it's displayed. So far I've only tested this with larger images (e.g. those which occupy 30-50% of the screen when displayed at the correct size) - these get expanded to fill the screen when no height or width values are provided in the HTML code. I'm just wondering if something along those lines is happening with these characters? - Donna |
![]() |
![]() |
![]() |
#8 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Quote:
I have confirmed that changing the src reference to a hisrc reference does keep this from happening though. My problem now is that I do most of my conversion/creation/editing work in epub using Sigil and then convert to mobi using Calibre. It's losing it somewhere in that process. If I save the epub from Sigil and then convert using Mobipocket Creator or Kindlegen, it works great. No resizing at all. Of course, many other aspects of the conversion are less satisfying. I'm working to find a happy median. - Byron |
|
![]() |
![]() |
![]() |
#9 | |
Nameless Being
|
Quote:
|
|
![]() |
![]() |
#10 | |
Enquiring Mind
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
|
Quote:
What I've found: 1. If you don't use the "hisrc" attribute as well as the "src" attribute, you do need to have the image height and width attributes specified, for the Kindle. If you don't, and the image fills less than 25% of the screen, it will be expanded to twice the height and width of the original. If you do specify the image height and width, it will be displayed correctly. See attached "testimagesizesnohisrc1.jpg" and "testimagesizesnohisrc2.jpg". 2. If you do use the "hisrc" attribute, the Kindle will use that rather than the "src" attribute, and will display that image without expanding it. See attached "testimagesizeswithhisrc.jpg". (The MOBI files for these screen shots were created by running two almost identical HTML files through Kindlegen - the only difference between the two HTML files was that one included the "hisrc" attribute in each IMG tag, whereas the other didn't.) 3. Calibre, when converting to MOBI format, appears to be discarding the "hisrc" attribute, and also discarding the image height and width attributes. I used Calibre to create a MOBI file from an EPUB in which the HTML included "hisrc", "height" and "width" attributes, and then to convert the MOBI to OEB. When I examined the resulting HTML, all three attributes had gone. Edited to add: Update: As Kovid indicated, Calibre was retaining image height and width attributes, but changing them to "em" values, rather than pixels (I discovered that the OEB output wasn't actually showing the exact HTML inside the MOBI file - now I use mobiunpack.py to see that accurately). Kindle ignores height or width values in ems inside the IMG tag. Calibre now leaves the IMG height and width attributes in their original form (height="yy" width="xx") when converting to MOBI format. end of edit - Donna Last edited by DMSmillie; 12-04-2010 at 09:01 AM. Reason: update |
|
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,164
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre most definitely does not discard height and width attributes. It converts them to ems.
|
![]() |
![]() |
![]() |
#12 |
Enquiring Mind
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
|
When Calibre converts a book to MOBI, it removes, as far as I can tell, the HTML height and width attributes from the IMG tag. If Calibre is converting image height and width attributes to ems, it must be replacing the HTML attributes with CSS properties, since the HTML attributes only accept, as far as I know, numerical values which indicate height and width in pixels.
For most height and width attributes - those which are deprecated in (X)HTML and therefore not acceptable in the "Strict" flavour - converting from HTML attributes to CSS properties is absolutely fine. The thing is... to the best of my knowledge, the HTML "height" and "width" attributes for the IMG tag aren't deprecated, and if that's the case, they shouldn't really be replaced with CSS formatting. They define the physical dimensions of the image, in pixels. Yes, it's possible to use CSS to specify an image size in ems if you want the image to scale according to the font size, but I'd suggest that, in most cases, that's not what's wanted - you want the image to be displayed using its "native" dimensions. - Donna Last edited by DMSmillie; 11-14-2010 at 12:47 PM. Reason: Added omitted phrase "aren't deprecated" |
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,164
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
no, calibre leaves width and height attributes, in ems. I have since changed that to px since Amazon's MOBI renderer, unlike the original MOBI rendered doesn't handle sizes in ems.
|
![]() |
![]() |
![]() |
#14 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,164
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Ideal" Kindle 2 PDF page size | Ea | 7 | 09-13-2013 11:08 AM | |
Kindle DX optimal "page" size - PDF or Word template | guiyoforward | Amazon Kindle | 12 | 09-28-2010 07:05 PM |
Kindle 3 "disk" size | bmacaskill | Amazon Kindle | 2 | 09-17-2010 07:11 PM |
"Menu" and "Mark" keys does not work | murad | Sony Reader | 4 | 07-11-2009 12:35 PM |
"do you want to fix removable disc" vista and my ebook reader | persiphone | Sony Reader | 5 | 04-29-2009 12:06 AM |