![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Sep 2013
Device: Kindle, Kobo, Nook, Google Nexus, iPad
|
![]()
My company had an ePub made for us and I'm editing it in Sigil on Windows Vista. It's an image heavy file, which was 26MB when I started and had about 650 photos in it. I have changed all the photos and deleted several, so I now have about 500 photos, all at the same DPI as the previous photo (150) and all less than 300Kb, totalling less than 15MB. I also changed the text on about 30 of the pages, but now the file size of my ePub is 86MB. Does anyone know what's happened to make it so big?
|
![]() |
![]() |
![]() |
#2 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Have the old files been deleted not just from the text but from the epub itself?
Are the old files shown in the book browser? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
MS Office does things like also
I rename (for example) a XLSM to .zip and open the now zip file to look for clues as to what's taking all the space Epubs are really zip files in disguise, so that might work for you to get a clue as to what's taking all the space Paul |
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,883
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
AFAIK Sigil does nothing but import images
Look at the code(view) for clues. Tidy (if enabled) will fix malformed code with inline styles. If you see much (inline) other than class="xyzzy", your original XHTML decelerations were substandard and got worked around ![]() |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Probably the new images are larger in size and not optimized.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,310
Karma: 43993832
Join Date: Feb 2010
Location: Monroe Wisconsin
Device: K3, Kindle Paperwhite, Calibre, and Mobipocket for Pc (netbook)
|
Also even if the image is removed from the text if it isn't removed from the 'image' folder as well then it is still there to take up room. What I can't figure out is why the file size doubles in size when I convert the epub to Kindle format.
|
![]() |
![]() |
![]() |
#7 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,310
Karma: 43993832
Join Date: Feb 2010
Location: Monroe Wisconsin
Device: K3, Kindle Paperwhite, Calibre, and Mobipocket for Pc (netbook)
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
KindleGen actually will normally triple the size of the file. Inside the file is the original ePub, a Mobi version of the file and a KF8 version of the file. You can use kindlestrip to remove the copy of the source leaving you with double the size. I would not recommend reducing it further; both internal copies are usable depending on the device. The mobi version is usable on devices that support mobi and the Kindle1 and perhaps Kindle2 and I believe KindleDX while the KF8 file matches the ePub for display capabilities and is usable on all other kindle devices.
However if you are tageting only mobi version then you can use Kindleunpack to take the file apart. Dale |
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Sep 2013
Device: Kindle, Kobo, Nook, Google Nexus, iPad
|
Quote:
With regards to the original files - I deleted them all from the browser and imported the new ones into the browser. And the new files total less than 15MB, so I don't understand why it's increased by 60MB. I've not linked them all the the corresponding pages yet - could this be why it's so big? |
|
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Sep 2013
Device: Kindle, Kobo, Nook, Google Nexus, iPad
|
Okay - I've had a go at unzipping the file and it turns out I was calculating the image sizes wrong, so they are too big. I need to get them all down to less than 50Kb each - any ideas about how to do this without making the quality terrible? The old images were all 150 DPI, but somehow manage to be less than 50Kb each.
|
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Sep 2013
Device: Kindle, Kobo, Nook, Google Nexus, iPad
|
Right - I tried converting them all to RGB, to create a smaller file size, but they all just got bigger - I'm so confused!
|
![]() |
![]() |
![]() |
#13 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
What are the files? PNG or JPG? PNGs can be hard to shrink unless you understand them well (which I don't.)
Try going back to originals and save off copies as jpgs at various quality levels and see which will be acceptable. You need to be sure you preview them at the size they will be displayed at. Irfanview (a free program) can do bulk conversions. |
![]() |
![]() |
![]() |
#14 |
Zennist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
Claire, the two big things that will impact file sizes for jpegs are --
1) resolution -- ie, the physical dimensions of the image. For example, if you have an image with a resolution of 1200 x 800 pixels, reducing it to 600 x 400 pixels will cut the size considerably, assuming the compression level used to save the images are roughly the same. 2) jpeg compression level used -- this is an adjustable setting in the program you are using to output your jpegs. Raise the compression level to reduce file size. The actual adjustment is often called "Quality" in which case you lower the "Quality" to reduce the file size. You can do either 1 or 2 or BOTH to reduce the file sizes of your jpegs. For image heavy books, I prefer not to touch the resolution at all (as images will then appear smaller on your device) and instead simply adjust the image compression. To do that, I "explode" the epub using Calibre's tweak epub feature. Then I select all the jpegs in the epub's image folder and drag and drop them onto the interface of Fotosizer (a free program). I then use a compression setting of anywhere from 40 to 60 in Fotosizer to resample the images and save right back to the original folder. I can usually get up to 75% space savings (sometimes more) in some image books. Two things to note: Compression levels (or quality settings) are different with every program -- ie, 60 in Fotosizer is different from 60 in Photoshop which is different from 60 in Irfan. Just keep that in mind if you are trying out different programs. Test the output to make sure the file size is what you want. Another thing -- Make sure you backup your original epub before resampling images, AND only resample images once. JPEG is a lossy format, which means every time you re-save the jpeg you are losing some quality. So if you have to redo something, go back to the original images. DPI will not impact file size ... that just sets the size of the output document if printed. --Pat Last edited by PatNY; 09-04-2013 at 07:08 AM. |
![]() |
![]() |
![]() |
#15 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Sep 2013
Device: Kindle, Kobo, Nook, Google Nexus, iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
photo, sigil, size |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KindleGen INCREASES image file size? | Oxford-eBooks | Kindle Formats | 13 | 09-14-2012 07:10 AM |
Editing an epub with Sigil | Artha | Calibre | 7 | 07-01-2011 01:57 PM |
pdf to epub - file size increases | tmg820 | Conversion | 8 | 04-28-2011 04:23 PM |
Editing Feedbooks with Sigil | castel15 | Sigil | 5 | 03-25-2011 09:00 PM |
editing OPF on sigil and adding flash file | shlomof | Sigil | 5 | 02-23-2011 02:39 PM |