![]() |
#16 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
|
Huh. I just tried reconverting one of the worse offenders, The Heroes by Abercrombie at 3,6 MB. Ticking "subset all embedded fonts" yielded no difference in file size. But I checked the contents, and those map file are a whopping 300kB per file. For low-res B/W image files. No compression at all, it seems. That is crazy!
|
![]() |
![]() |
![]() |
#17 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Not to mention that many readers offer the ability to zoom in on an image, and a map in particular benefits from the ability to do that and have it remain sharp and clear.
|
![]() |
![]() |
![]() |
#19 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
Quote:
If they really are an uncompressed type (does EPUB even support uncompressed images?), compressing will help a lot. Again, for line drawings, PNG will usually be much better than JPEG. |
|
![]() |
![]() |
![]() |
#20 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
https://www.mobileread.com/forums/sho...54&postcount=8 https://www.mobileread.com/forums/sho...3&postcount=30 https://www.mobileread.com/forums/sho...5&postcount=26 Although it is quite hard to go from JPG -> a clean PNG without the source. Once you go lossy, you can't really go back, the artifacts/damage was already done. I really wish that with maps and diagrams, the dang publishers/authors would release the vector files. It would be SO MUCH nicer for people who like to go in and create some quality stuff. In the print version of a book you won't get some tiny ant-sized thumbnail. You get a nice, large, crisp map. ![]() JPG, PNG, and GIF are the valid image types in an EPUB (and SVG, but I would consider that a different cup of tea). |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#22 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,029
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
http://www.joeabercrombie.com/maps-for-the-heroes/ |
|
![]() |
![]() |
![]() |
#23 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
|
Awesome, thanks! In truth I prefer keeping maps on a tablet anyway, since paging back-and-forth isn't exactly en ereader's strong suit.
|
![]() |
![]() |
![]() |
#24 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
|
I _REALLY_ wish more authors would do this.
|
![]() |
![]() |
![]() |
#25 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
Quote:
Full size: 2048x1448 2.7MB JPEG Thumbnails: 300x212 36KB JPEG I shrunk the full sized images to 1024x724 and 512x362 JPEGs and they 308KB and 72KB respectively. I wouldn't call 1024x724 low resolution on an e-ink reader. |
|
![]() |
![]() |
![]() |
#26 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
Quote:
Simply converting them to PNG with 256 shades of gray made 1.7MB images, a 37% reduction. Under the bash shell. for i in heroes-*jpg do; djpeg $i | pnmtopng > PNG0/`basename $i .jpg`.png At the other extreme, converting to true B&W (1 bit) images resulted in 209KB 2048x1448 images, but those look significantly worse, even no counting the gray regions being shown as white. for i in heroes-*jpg; do djpeg $i | pnmdepth 1 | pnmtopng > PNG1b/`basename $i .jpg`.png; done Converting to 2 bit (4 "color") PNG made 402KB full size images, less than 15% of the space required, or an over 85% reduction. The reduced number of gray shades probably slightly reduces the anti-aliasing benefits of more gray shades, but it also somewhat reduces JPEG artifacts. It even reduces scanning error. This happens all over the image, but it is most clear in areas with a single gray shade, such as the lower left and upper right corners. This makes the image cleaner and use fewer bytes. An optimal way to produce the web images would have been to scan them at 600dp (4096x2896)i 2bit (4 color) and save them as 2048x1448 4bit PNG. To really go all out, scan at 1 bit 1200 dpi, fill in the regions that should be gray with some tool, and save as 2048x1448 4bit PNG. |
|
![]() |
![]() |
![]() |
#27 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
|
Quote:
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. In fact - that would be my number 1 potential new feature in Kobo FW: a hotkey to go directly to a specific predetermined page (map page for instance, or dramatis personae - or cover art for that matter) without having to faff about with bookmarks and going through the unwieldy "annotations" menu - and then one to go back where you came from. Last edited by Joques; 07-20-2014 at 02:06 AM. |
|
![]() |
![]() |
![]() |
#28 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
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:
While the change in the book SIZE will be small, performance can improve with a less bulky stylesheet |
|
![]() |
![]() |
![]() |
#29 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
Karma: 107414
Join Date: May 2013
Device: Kobo Glo
|
theducks, that is interesting. I have a few books that are especially sluggish. I will try that out.
|
![]() |
![]() |
![]() |
#30 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |