Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-20-2014, 02:20 PM   #31
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Joques View Post
theducks, that is interesting. I have a few books that are especially sluggish. I will try that out.
More likely is:
1) horrible coding (unnecessary spans and cr*p. Usually from Word )
2) huge segments. a File per chapter is more nimble than one the reaches the 260K: must break (to be usable on older devices like mine) point.
theducks is online now   Reply With Quote
Old 07-20-2014, 02:45 PM   #32
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,788
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by Joques View Post
The ones that are in the ebook are 502x714, almost exactly half of your already shrunk files, and bad enough that several of the location names are really hard to make out. Edit: And those are the ones that take up 300kB of space.
I was skeptical when you had written "No compression at all, it seems.", but the uncompressed size for 714x502 is 350KB, not much larger than the 300KB for the files in the book. Uncompressed size for the files on the web site is 2.8MB, also not much larger than the 2.7MB JPEGs that are there.

I made 714x504 (same 0.3486328125 scaling to both dimensions) JPEG and PNG images from the 2048x1448 JPEGS on the web site, and got 142KB and 125KB sizes respectively. Both look about the same. Some of the text is difficult on a 96dpi monitor. I hate to think about trying it 167 dpi or 200dpi e-ink. 250 dpi e-ink or LCD is likely impossible. In any case, the publisher could have reduced the size of the book by almost a megabyte by going with PNG, maybe even a full megabyte starting with a clean image with no JPEG artifacts.

Since all 5 maps have a huge amount of identical content, an even more drastic bloat reduction will be possible when SVG support in EPUB readers gets decent. The same underlying image with only the constant text could be used for all the maps with the shaded regions and changed text as SVG overlays.

It looks like maybe the quality setting on the JPEG files was cranked well into diminishing returns territory with the result of all the worst features of JPEG with essentially none of the compression.

JPEG does not do well on regions of solid color or sharp edges. These figures are nothing but sharp edges and solid colors.

Quote:
Originally Posted by Joques View Post
Like I said - having hi-res maps on a tablet beside the ereader is ideal for me, more important really than having hi-res maps in the ebook file as it is so much work going back and forth between map and text.
It has been so long since I played with putting bare image files on a reader, that I had forgotten about the possibility. That does seem like a good workaround when such images are available.
j.p.s is offline   Reply With Quote
Advert
Old 07-21-2014, 02:36 AM   #33
Joques
Addict
Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.
 
Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
theducks, Gravity's Rainbow is just four chapters for ~800 real pages - so the chapters are unreasonably big. Especially the third chapter, the biggest one. I like having a single page count for a single chapter, so I've tried keeping it intact, but my HD is just struggling too much now. The html file for chapter 3 is ~900kB.

In truth, it would have been better if the publisher had divided the chapters by all the smaller subdivisions within each chapter. Say, is there a simple way for me to do that? I tried playing around a little with the Calibre epub editer, but couldn't find a simple "split the file at this location" tool.
Joques is offline   Reply With Quote
Old 07-21-2014, 03:11 AM   #34
Joques
Addict
Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.
 
Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
Wait! Sigil has a "split chapter" option. Very good, I'll do that. Probably make the damn thing easier to digest anyway.
Joques is offline   Reply With Quote
Old 07-21-2014, 03:13 AM   #35
doubleshuffle
Unicycle Daredevil
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
Posts: 13,944
Karma: 185432100
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
I'm sure the Calibre editor must also have a function to set a split marker, but I don't know how it works there.

In Sigil you can set split markers with Ctrl+Shift+Return and then split at those markers with F6.

ETA: Too late...
doubleshuffle is offline   Reply With Quote
Advert
Old 07-21-2014, 03:46 AM   #36
Joques
Addict
Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.
 
Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
I just used ctrl-return to split, didn't have to mark and execute.
Joques is offline   Reply With Quote
Old 07-21-2014, 09:10 AM   #37
DomesticExtremis
Addict
DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.
 
DomesticExtremis's Avatar
 
Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
Splitting the chapters won't decrease the size of the epub, it will
in fact increase it due to all the header data and extra toc and opf
entries, though only a little bit.
DomesticExtremis is offline   Reply With Quote
Old 07-21-2014, 09:37 AM   #38
Joques
Addict
Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.
 
Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
Domestic, now we're not talking about the size of the epub any more, but the sizes of the individual html files (usually one per chapter) inside it :-) If the chapters get too large (like in GR), the ereader struggles, so then it is better to split them. Calibre will do this automatically, but usually in a less pleasingly aesthetic way.
Joques is offline   Reply With Quote
Old 07-21-2014, 10:38 AM   #39
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
There is a split button in calibre editor, at the bottom of the preview.

Also, I believe you can set an xpath to specify split locations in bulk.
eschwartz is offline   Reply With Quote
Old 07-21-2014, 11:43 AM   #40
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
One way to reduce the size of an eBook is to use jpegtran and pngout to reduce the size of the graphics without affecting the image quality at all. These programs remove the junk in the images and keep the pixels exactly as is to make the images smaller. The link below is for Windows and there are versions for Linux and OS X.

http://blog.stationfour.com/automati...on-in-windows/
JSWolf is online now   Reply With Quote
Old 07-21-2014, 06:40 PM   #41
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Joques View Post
theducks, Gravity's Rainbow is just four chapters for ~800 real pages - so the chapters are unreasonably big. Especially the third chapter, the biggest one. I like having a single page count for a single chapter, so I've tried keeping it intact, but my HD is just struggling too much now. The html file for chapter 3 is ~900kB.

In truth, it would have been better if the publisher had divided the chapters by all the smaller subdivisions within each chapter. Say, is there a simple way for me to do that? I tried playing around a little with the Calibre epub editer, but couldn't find a simple "split the file at this location" tool.
The split tool is ONLY in Book view window. Lower corner: looks like a folded page.
Clicking that mags a Green line that you drag to the proper piont, when clicked sets and does the split. All you need to do then is Save.
theducks is online now   Reply With Quote
Old 07-21-2014, 09:43 PM   #42
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by eschwartz View Post
Also, I believe you can set an xpath to specify split locations in bulk.
^^ Accessible by right-clicking in a file editor (not preview) and selecting "Split at multiple locations". Uses xpath, and offers the calibre xpath wizard (with a link to the tutorial).

You can also set a shortcut key in Preferences.
eschwartz is offline   Reply With Quote
Old 07-22-2014, 02:31 AM   #43
Joques
Addict
Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.
 
Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
Quote:
Originally Posted by theducks View Post
The split tool is ONLY in Book view window. Lower corner: looks like a folded page.
Clicking that mags a Green line that you drag to the proper piont, when clicked sets and does the split. All you need to do then is Save.
Ok, thanks. Still seems easier in Sigil, I have to say.
Joques is offline   Reply With Quote
Old 07-22-2014, 02:39 AM   #44
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Joques View Post
Ok, thanks. Still seems easier in Sigil, I have to say.
What about Sigil is easier than using xpath? You can easily split on any marker you create. As well as any other describable element path.
eschwartz is offline   Reply With Quote
Old 07-22-2014, 03:10 AM   #45
Joques
Addict
Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.Joques is my name, but call me Ishmael.
 
Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
I'll just put the cursor where I want the split, hit ctrl-return, and the split happens.
Joques is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre ebook-viewer.exe changes EPUB file sizes? avid01 Calibre 23 04-11-2018 04:24 AM
File sizes - why the difference? Araucaria Sigil 4 11-22-2011 07:52 PM
Book/file sizes in Calibre cavgirl Calibre 2 11-12-2010 08:15 PM
Epub file sizes jerryleejr Sony Reader 6 07-28-2008 03:09 PM


All times are GMT -4. The time now is 03:16 PM.


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