![]() |
#31 |
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
|
Good point, but assuming that we're not all utterly incompetent here, (which we try not to be more than once a week) if Wolfie used that CSS and MQs sans issue, I really can't see a good reason why our ePUBs would suddenly bang the drum...but, hell, I'll check.
Hitch |
![]() |
![]() |
![]() |
#32 |
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
|
AH-hah...
I remember what it is. It's the media queries AROUND images. The KF8 and KF7 image coding. When we made ePUBs with the kf7 hidden and kf8 hidden images and used the two different sizing methods--pixels for KF7 and % for KF8, the files started getting totally bollixed in real devices. If memory serves--and I'll have to go look--they did pass ePUBcheck, but on real Nooks and stuff, it wasn't a pretty picture. (But, yes, somewhere, and I'll pull it out of these crusty old brain cells somewhere, there WAS an ePUBcheck crash and burn...) Hitch |
![]() |
![]() |
Advert | |
|
![]() |
#33 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Quote:
Just a few days ago I got a complaint that my EPUB covers were TOO LARGE! iBooks denied the book because the cover was >4 million pixels. (Weren't they the ones that initially pushed for much higher resolution covers when iPad came out???) 1800 x 2700 = 4,860,000 1600 x 2400 = 3,840,000 So while "1600px shortest side" is now recommended at almost all the stores, and iBooks was one of the first to push for that... that max pixels just doesn't leave much wiggleroom. Side Note: I recently had my own brainfart with Color Links. I knew there was SOME reason why they were a bad idea, but had to dig in the ol' memory hole to refresh. (E-ink + Night Mode + Black-on-Black Text.) |
||
![]() |
![]() |
![]() |
#34 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,982
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#35 | |||
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:
If you'll recall, for the KF7 fallback, you can put the code into the img tag, right? WELL...just GUESS what an ePUB does when it's faced with an inline CSS command, the KF7, versus the KF8, where one says "display it at 400px wide" and the other says, "display it at 40% of the screensize" or whatever? It pukes or chooses the wrong one. Quote:
Quote:
Hitch |
|||
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
Another problem is troubling me now concerning how to format images for KF7, KF8 AND KFX when you upload just an epub. This problem arises particularly if you use banner-like images(width much wider than height) that are smaller in width than the full screen width of the reading device.
I tested the above problem recently and can find no way to adequately satisfy the image formatting requirements for KF8, KF7 as well as satisfying the HDV sizing requirements for KFX or ET-enabled devices. For example, say you have alot of banner-like images -- smaller than screen width -- that you want to insert into your epub. It's easy enough to satisfy the KF8 and KF7 requirements using dual image formatting with media queries. But how do you also satisfy the KFX requirement, which also requires that you satisfy the High Definition Visual image sizing specification for KFX? This HDV sizing compliance specification is shown below:
And so there seems to be a big problem with images (that does not really affect KF8). Should I format and size all my banner-like images according to the KF7 requirements(in absolute pixels) or should I format my images as 75% screen width using KFX's image sizing compliance of 900 x 1350 pixels? The problem arises when you add your images to the epub. Do I add all those images sized in pixels at the actual size that they will be displayed on the screen for KF7 or do I add all my epub images as per the HDV sizing compliance for KFX? If you use KF7 pixel dimensions(not percentages) in your epub image formatting then, on all KFX devices, you're going to get images that may look degraded or smaller due non-compliance with the HDV image sizing spec. And if I format and add all my banner-like images to my epub according to the KFX HDV spec as 75% screen width then all I'm ever going to get on KF7 devices is a full screen width image which is not what I want. The only way I can see where it would be possible to satisfy all image requirements across all KF7, KF8 and KFX devices easily would be to just insert ALL images according to the KFX HDV spec at max screen width(as a percentage of h/w) and just hope for the best, which is a crappy solution really. Last edited by slowsmile; 10-29-2019 at 11:04 PM. |
![]() |
![]() |
![]() |
#37 | |
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:
Hitch |
|
![]() |
![]() |
![]() |
#38 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
I'm actually just going to go with what you just said in your last post. I'm just going to dual format with media queries as normal and just leave it at that. Thinking about it gives me a headache...
I also spotted another possible problem with my AddKindleMediaQueries plugin which might be a problem if you are uploading your epub to KF7, KF8 and KFX. Currently, the media query only addresses KF7 and KF8 devices -- it does not explicitly address KFX devices. Anyway, to get around the above problem and as a precaution I may soon be releasing a new version of my AddKindleMediaQueries that explicitly targets images on KFX devices in the same way as for KF8. It's only a small change, but necessary I think. The new media queries code will probably look something like this(with emphasis on the change): Code:
@media amzn-mobi { .kf8only { display: none; } .mobionly { display: inline; } } @media amzn-kf8 or amzn-ET { .kf8only { display: inline; } .mobionly { display: none; } } Last edited by slowsmile; 10-29-2019 at 11:39 PM. |
![]() |
![]() |
![]() |
#39 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
...Just realized there's no real need to change anything at all in the media query code. Using 'not amzn-mobi7' should do just fine. This KFX thing is giving me a real headache. Way too much screen time. I'm gonna go sit on my outside porch with a coffee for a while and watch the plants grow in my garden I think...
![]() Last edited by slowsmile; 10-29-2019 at 11:50 PM. |
![]() |
![]() |
![]() |
#40 |
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
|
|
![]() |
![]() |
![]() |
#41 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,013
Karma: 89771379
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
(Also I would be cautious about using "amzn-et". As far as I know it is not documented anywhere.) Last edited by jhowell; 10-30-2019 at 09:38 AM. |
|
![]() |
![]() |
![]() |
#42 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@jhowell...Thanks for confirming that, which I suspected was the case.
But I'm still in the dark about how to properly format images in an epub for correct display across all KF7, KF8 and KFX devices. I made the point in my longer post above that images must be formatted for KF7 in absolute pixels whereas images formatted in KFX must be formatted as percentage of screen width AND must also comply with KFX's HDV image sizings. Dual formatting your images using media queries will certainly cover formatting for KF8 and KF7 devices but it does not properly cover KFX devices because HDV compliance also requires that you must use much larger images for KFX than the images required for KF8 or KF7. So if you format and store all your smaller-sized images in your epub at real image size in pixels then this will enable proper displays across all KF7 devices. But such images may look degraded and lower quality across all KFX devices because all stored images will be formatted to a smaller size for KF7 which does not properly follow KFX's HDV image sizing compliance, which will not play well on KFX -- resulting in poor quality image displays across all KFX devices. Similarly if you format all your epub images according to the HDV compliance(using larger images) for KFX and format your images using percentage of screen width then there will be no problems on KFX(or KF8) devices but, unfortunately, KF7 format will ignore the percentage styling completely -- so all you will ever get is lower quality images that will always be displayed at max screen width because all HDV sizings for images are so large -- usually much larger than screen width. The gist of what I'm saying is that it seems to be impossible to implement an image width or size that is smaller than max screen width across all KFX, KF8 and KF7 devices for all reasons given. The only way I can see to accurately display these images across all devices seems to be to only use percentage styling with all images set to max screen width. That would probably work but, IMHO, that's a poor solution really because its your only option. I've also assumed that if you upload a properly formatted Word doc direct to KDP then the aforementioned smaller images in the Word doc will only display properly on KFX devices. For older KF8 devices(without ET enabled) I'm also assuming that all your Word images will just display as mobi7 on KF8 devices -- where all your smaller images will, instead, be full page width and look awful -- because the older KF8 format(without ET) has gone AWOL. I'm still gob-smacked that Amazon Kindle has done this. Last edited by slowsmile; 10-30-2019 at 10:19 PM. |
![]() |
![]() |
![]() |
#43 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,982
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The thing I would do is make the images follow the image sizes for the width and let the height fall where is may to keep the aspect ratio correct. Test it in the current Kindle Previewer to see if it can be converted to KFX.
I think KFX is a big mistake. I also think not allowing KF8 only eBook s is also a big mistake. There are things you cannot do in Mobi and if you have to do them and there's no way to them properly in Mobi, then don't have Mobi available. Amazon is keeping things backwards in order to satisfy an outdated obsolete format. So publishers are doing stupid things in order for the eBook to work as Mobi. For example, using images of text that Mobi doesn't handle but ePub and KF8 do. |
![]() |
![]() |
![]() |
#44 | |||
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@JSWolf...
Quote:
Quote:
Quote:
Last edited by slowsmile; 10-30-2019 at 11:38 PM. |
|||
![]() |
![]() |
![]() |
#45 | |
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:
You're saying that simply using HDV-sized images, coded as KF8 (using %) and using the hidden/KF7 method will NOT work? I'm just trying to make sure that your testing is showing...what, exactly? If you use the large image sizes dictated for KFX, but follow the CSS for KF8 and KF7, like in your plugin--what happens, exactly? Hitch |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Previewer version 3.32 and KPF | jhowell | Kindle Formats | 78 | 03-23-2020 01:18 AM |
Looking at the html of a Kindle Create (kpf) file | Notjohn | Kindle Formats | 1 | 01-15-2019 06:43 PM |
‘King of the Blues’ Blues Legend B.B. King Dead at Age 89 | Apache | Lounge | 3 | 05-15-2015 08:55 PM |
My frustrating Kindle experience. Sigh. | Roy Hinkley | General Discussions | 29 | 05-26-2010 01:42 PM |
*Sigh* Sony Reader, or Wait for Canadian Kindle? | strangeseraph | Which one should I buy? | 12 | 03-05-2009 01:14 PM |