Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 11-20-2019, 09:57 AM   #1
trefoil
Member
trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.
 
Posts: 11
Karma: 2135972
Join Date: Nov 2019
Device: Kindle Oasis 1
Opinion on Best Format for Text+Wordclouds

A personal journal project that makes use of wordclouds to index each entry has a concern about file size. The KFX is awfully large at 250 MB, and so is there a way to reduce the size? What bloats it most of all is the wordclouds being images in jpeg. Here are some things learned:

Using PDF for clouds and text takes the least amount of space because there is no need for image files anymore. The problem there is that the journal loses the enhanced typesetting, and more importantly, the Screen Reader doesn't work with PDF.

Using SVG for the clouds in a KFX would have been fine, except that the Kindle vector graphics engine doesn't allow text directives for some reason. Converting the cloud to vector text outline polygons would defeat the purpose.

Is there some format that would permit both the use of the screen reader and a vector graphics format that permits text? Or else, is there another way to draw a wordcloud without SVG?
trefoil is offline   Reply With Quote
Old 11-20-2019, 11:52 AM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by trefoil View Post
A personal journal project that makes use of wordclouds to index each entry has a concern about file size.
Is this something that you are planning to publish though Amazon?

Amazon produces a different KFX image package for each book based on the capabilities of the reading device. E-ink Kindles will receive low resolution, black and white images. Other devices get better quality images, but in all cases the images are rasterized for KFX format.


Quote:
Originally Posted by trefoil View Post
The KFX is awfully large at 250 MB, and so is there a way to reduce the size?
Use fewer image, lower resolution images, or eliminate color.


Quote:
Originally Posted by trefoil View Post
Using PDF for clouds and text takes the least amount of space because there is no need for image files anymore. The problem there is that the journal loses the enhanced typesetting, and more importantly, the Screen Reader doesn't work with PDF.
PDF is not a good format for e-books. It does not allow reflow, making the book unreadable on devices without a large screen.


Quote:
Originally Posted by trefoil View Post
Using SVG for the clouds in a KFX would have been fine, except that the Kindle vector graphics engine doesn't allow text directives for some reason. Converting the cloud to vector text outline polygons would defeat the purpose.
It wouldn't help. SVG images are converted to JPEG for KFX format.


Quote:
Originally Posted by trefoil View Post
Is there some format that would permit both the use of the screen reader and a vector graphics format that permits text? Or else, is there another way to draw a wordcloud without SVG?
If you use SVG images containing text the book will not be available in KFX format, but that might be a good thing.

It should work in Amazon's older KF8 (azw3) format. That format supports SVG without rasterization.

Whether or not KF8 will work with a screen reader would depend on the reading device.
jhowell is offline   Reply With Quote
Old 11-21-2019, 09:34 AM   #3
trefoil
Member
trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.trefoil ought to be getting tired of karma fortunes by now.
 
Posts: 11
Karma: 2135972
Join Date: Nov 2019
Device: Kindle Oasis 1
Quote:
Originally Posted by jhowell View Post
Is this something that you are planning to publish though Amazon?

It should work in Amazon's older KF8 (azw3) format. That format supports SVG without rasterization.

Whether or not KF8 will work with a screen reader would depend on the reading device.
Thanks for the info. I will try again with Calibre's AZW3 converter (starting with HTML + inline SVG), just to see how that goes. By cutting some corners on the wordclouds, the AZW3 file ends up at just about 8 MB. That makes it about thirty times smaller than the KFX file! The VoiceView works pretty well with the smaller file, but I've noticed in the past that it crashes more often with this format than with others.

Now I can listen to my thoughts while working in a crowded room, and the cloud gives me a feel for what's coming.
trefoil is offline   Reply With Quote
Reply

Tags
kfx, pdf, svg, voiceview


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two format (text) questions Snauzoo Conversion 6 07-07-2011 01:04 AM
Damaged screen, any way to format the text around this? jenkins Sony Reader 6 06-12-2010 08:21 PM
Can you edit the text in LRF format Lanyon Calibre 9 03-13-2009 06:58 AM
Another opinion about K2 text to speech MsAstoria Amazon Kindle 22 03-01-2009 10:13 PM
Text format and how to use reb1 Bookeen 15 10-12-2007 11:49 AM


All times are GMT -4. The time now is 06:53 PM.


MobileRead.com is a privately owned, operated and funded community.