Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-28-2019, 04:34 AM   #1
gianni_fed
Enthusiast
gianni_fed began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2015
Device: none
books size

Hello,
sometimes I find books large, 10-20MB but that can be reduced to a few KB because they contain images with very high resolutions while, to read an e-book, 72dpi are enough.
This is the way I have found to reduce the size of all images at once, two freewere programs (FILEminimizer Picture, Bulk Rename Utility and WinRAR 5.20) are needed:
1 - open the book with the right button on the book and Edit book.
2 - select all the images and, with the right key, export all the images ... in the window that opens click on "Select folder" on the bottom right.
3 - open FILEminimizer Picture, check the box "Custom Compression" and click on "Settings", I chose 640x480 and 40%.
In the upper bar click on "Settings", in Settings I have selected "Create new Optimized files, I put" _ "in the" Add this extension to file name "box and then" Insert before file name ".
In Image Settings I selected "Allow editing of the format and I checked the box" Allow image resizing.
4 - open the folder where you saved the images, select all the images and drag them into Fileminimizer Picture, click on Optimize file.
5 - open Bulk Rename Utility, navigate to the folder where the reduced files are located, select them and, in the "Remove" window enter 2 in the "First n" box, then click on "Rename". The program will remove the first two characters from the names of the files.
6 - at this point return to Caliber, in the book details window on the right, right click on: "Path: Click to open" and, again with the right button on the file, click "Open with" and select WinRAR archiver.
usually the images are in the folder "OEBPS" -> Images, select them and with the right key -> Delete files and confirm, always with the right button -> Add files to archive, navigate to the reduced images, select them and date Ok and confirmed. Close WinRAR, close the folder and it's done.
The procedure seems long and laborious but I assure you that it is easy and fast.

Please note, if there are png images in the book that File minimizer does not manage, after point 1, you need to change "png" in "jpg" throughout the book in "Search" -> Find / replace (Ctrl + F) e, after point 2, use a small program like Bulk Image Converter to change all the extensions from png to jpg.

I hope this procedure can help someone.
gianni_fed is offline   Reply With Quote
Old 01-31-2019, 02:39 PM   #2
Gary_M_Mugford
Groupie
Gary_M_Mugford has a complete set of Star Wars action figures.Gary_M_Mugford has a complete set of Star Wars action figures.Gary_M_Mugford has a complete set of Star Wars action figures.
 
Gary_M_Mugford's Avatar
 
Posts: 180
Karma: 299
Join Date: Jul 2010
Location: Brampton ON
Device: Kobo, Kindle3
Gianni,

I usually convert the book to Mobi (I read via a Kindle) and the conversion really takes a lot of the air out of the book, especially if coming in from a Hi-Res infested EPub. You might want to try converting, even mobi to mobi or mobi to EPub and back or whatever you want to try. THEN compare that with the way you've developed. You MIGHT find it easier and within percentage points of what you are doing to just hilite and click convert and OK from within Calibre. Or, your way might be a LOT better and this will result in something good for the community to know.

GM
Gary_M_Mugford is offline   Reply With Quote
Old 01-31-2019, 02:54 PM   #3
Brett Merkey
Not Quite Dead
Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
I may be missing something here. Why not use the super quick and effective tool provided by Calibre to reduce image file size?

In the Editor window, select Tools > Compress Images Losslessly. Checking the "Enable lossy compression" option will reduce them further. I often use a compression quality value of 50.
Brett Merkey is offline   Reply With Quote
Old 01-31-2019, 03:04 PM   #4
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by Brett Merkey View Post
I may be missing something here. Why not use the super quick and effective tool provided by Calibre to reduce image file size?

In the Editor window, select Tools > Compress Images Losslessly. Checking the "Enable lossy compression" option will reduce them further. I often use a compression quality value of 50.
Afaik, that only changes compression ratio, not resolution.
ilovejedd is offline   Reply With Quote
Old 01-31-2019, 03:25 PM   #5
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,062
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 ilovejedd View Post
Afaik, that only changes compression ratio, not resolution.
That tool also allows you to Resize eg 2048w > 450w (and maintain aspect)
theducks is offline   Reply With Quote
Old 01-31-2019, 03:50 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
That tool also allows you to Resize eg 2048w > 450w (and maintain aspect)
Really, how can you do that ?

Click image for larger version

Name:	1.jpg
Views:	214
Size:	44.7 KB
ID:	169417

BR
BetterRed is online now   Reply With Quote
Old 01-31-2019, 04:22 PM   #7
Brett Merkey
Not Quite Dead
Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
Quote:
Afaik, that only changes compression ratio, not resolution.
Changing resolution can be a complex process that may not attain desired results. A 300x300px image at 300ppi will be one inch across in a Paperwhite 3+ but will (without device intervention) take up the entire screen of a 150ppi tablet. What seems to happen is that many devices re-interpret image resolution to best fit the screen.

I am quite happy with altering file size (compression) or pixel dimensions when necessary. These are things Calibre can do, even tho as separate tools in the user interface.

Last edited by Brett Merkey; 01-31-2019 at 04:55 PM.
Brett Merkey is offline   Reply With Quote
Old 01-31-2019, 06:52 PM   #8
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by Brett Merkey View Post
Changing resolution can be a complex process that may not attain desired results. A 300x300px image at 300ppi will be one inch across in a Paperwhite 3+ but will (without device intervention) take up the entire screen of a 150ppi tablet. What seems to happen is that many devices re-interpret image resolution to best fit the screen.

I am quite happy with altering file size (compression) or pixel dimensions when necessary. These are things Calibre can do, even tho as separate tools in the user interface.
Curious, aside from conversion, how do you change resolution of images inside a book using Calibre (not just cover but other embedded images as well)?

There's only so much that changing compression ratio will do. I have books with 12 megapixel images. For books I deem unreasonably large, I unpack, then use IrfanView to batch resize and convert, overwriting in place (JPEG compression 75%), then repack.
ilovejedd is offline   Reply With Quote
Old 01-31-2019, 06:58 PM   #9
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,062
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 BetterRed View Post
Really, how can you do that ?

Attachment 169417

BR
Where is that.
I thought we were talking about the Image tool in the calibre editor?
theducks is offline   Reply With Quote
Old 01-31-2019, 07:11 PM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,243
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by ilovejedd View Post
Curious, aside from conversion, how do you change resolution of images inside a book using Calibre (not just cover but other embedded images as well)?
Open the book in calibre's editor, select the image and edit away. See attached screenshot.
Attached Thumbnails
Click image for larger version

Name:	Image Editor.PNG
Views:	132
Size:	201.2 KB
ID:	169418  
DNSB is offline   Reply With Quote
Old 01-31-2019, 07:20 PM   #11
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,062
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 DNSB View Post
Open the book in calibre's editor, select the image and edit away. See attached screenshot.
Yep

That was what I use frequently
theducks is offline   Reply With Quote
Old 01-31-2019, 07:45 PM   #12
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by DNSB View Post
Open the book in calibre's editor, select the image and edit away. See attached screenshot.
Thanks for the tip. I was looking for an option in the menubar.

Just tried it and I think I'll stick to my current method. File manager + IrfanView is easier when I need to preview and process a batch of images.
ilovejedd is offline   Reply With Quote
Old 01-31-2019, 10:11 PM   #13
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Brett Merkey View Post
I may be missing something here. Why not use the super quick and effective tool provided by Calibre to reduce image file size?

In the Editor window, select Tools > Compress Images Losslessly. Checking the "Enable lossy compression" option will reduce them further. I often use a compression quality value of 50.
Quote:
Originally Posted by theducks View Post
That tool also allows you to Resize eg 2048w > 450w (and maintain aspect)
Quote:
Originally Posted by BetterRed View Post
Really, how can you do that ?

Attachment 169417

BR
Quote:
Originally Posted by theducks View Post
Where is that.
I thought we were talking about the Image tool in the calibre editor?
. . .

BR

Last edited by BetterRed; 01-31-2019 at 10:17 PM.
BetterRed is online now   Reply With Quote
Old 02-03-2019, 06:18 AM   #14
gianni_fed
Enthusiast
gianni_fed began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2015
Device: none
Only to have complete information

Hi,
In the included image there is a comparison between the two image compression methods: Compress Images Losslessly and the one I use.
Bye,
Gianni
Attached Thumbnails
Click image for larger version

Name:	comparison.jpg
Views:	201
Size:	179.3 KB
ID:	169474  
gianni_fed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Size of a books selections sylvain62 Library Management 7 02-23-2015 04:14 AM
Sample size of Books charlesvald Writers' Corner 11 10-10-2012 02:03 PM
PRS-650 order books by file size? GraceKrispy Sony Reader 7 07-25-2011 06:12 AM
Full size photo size v. Screensaver size? FF2 Amazon Kindle 5 12-19-2010 11:02 PM
Why are books the size they are? DMcCunney Lounge 32 09-16-2010 03:16 PM


All times are GMT -4. The time now is 05:18 AM.


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