Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 03-02-2019, 07:27 PM   #1
SFCurley
Junior Member
SFCurley began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2010
Device: iPhone
Way to resize all images

Hi. I have some books which may have images that are considerably smaller than the output device's screen width. I have reconverted them using the tablet output format, and of course, that doesn't seem to resize them. I have tried to resize the images by setting a specified output device that has a fairly wide (but not wider than my device's screen) width, but that didn't seem to make a difference. I have not looked at the html or CSS.

Is there a way to force ALL images in an Epub output to resize to a certain or minimal width other than batch resizing the images within the Epub (zip) file? And would this even be advisable?

Thank you in advance.

Last edited by SFCurley; 03-02-2019 at 07:33 PM.
SFCurley is offline   Reply With Quote
Old 03-02-2019, 08:15 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 40,846
Karma: 18247591
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need to change the output profile in the conversion dialog not Preferences->Common options,then it will work. https://manual.calibre-ebook.com/con...for-conversion
kovidgoyal is offline   Reply With Quote
Advert
Old 03-02-2019, 11:34 PM   #3
SFCurley
Junior Member
SFCurley began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2010
Device: iPhone
Thank you, Kovad.

So, I resized the image to a larger size and set the options for a wide-format, high resolution device (iPad 3), and set those options in the conversion dialog box However, the image is still displaying in much smaller format. Opening the book editor, I see that there is CSS targeting that image that sets it to the smaller size. So, two questions, if you would please:

1. Is this the expected behavior?

2. Is there anyway, aside from manually editing the CSS, where such is the case, to have all images be larger, say 2000px wide?

Thank you again.
SFCurley is offline   Reply With Quote
Old 03-03-2019, 12:52 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 40,846
Karma: 18247591
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If there is CSS tagetting the image, it will have come from theinput document, calibre does not add any such CSS on its own. There is no generic way to override such CSS, but you can use the Extra CSS setting in the look & feel section of th econversion dialog to provide your own override CSS
kovidgoyal is offline   Reply With Quote
Old 03-03-2019, 02:55 AM   #5
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: 19,889
Karma: 97948053
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by SFCurley View Post
1. Is this the expected behavior?
Is the CSS also present in the original? If so, yes, it is expected.

Quote:
Originally Posted by SFCurley View Post
2. Is there anyway, aside from manually editing the CSS, where such is the case, to have all images be larger, say 2000px wide?
There is no good way other than manually editing the CSS and very likely the book code. Unless the original images are high resolution, you are going to get GIGO. Remember that quite a few images included in ebooks are not intended to be viewed at large sizes (scene separators and chapter headers will often use fleurons, vignettes, ornaments or embellishments (aka "frilly bits") or a publisher logo are examples of graphics intended to be displayed at small sizes). I've attached an example of a publisher logo which was a 200x200 image in the original epub. Magnifying it to 2000x2000 makes it look rather ugly.
Attached Thumbnails
Click image for larger version

Name:	penguin.jpg
Views:	110
Size:	149.1 KB
ID:	169989  
DNSB is offline   Reply With Quote
Advert
Old 03-03-2019, 10:20 AM   #6
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: 27,414
Karma: 44897222
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DNSB View Post
There is no good way other than manually editing the CSS and very likely the book code. Unless the original images are high resolution, you are going to get GIGO. Remember that quite a few images included in ebooks are not intended to be viewed at large sizes (scene separators and chapter headers will often use fleurons, vignettes, ornaments or embellishments (aka "frilly bits") or a publisher logo are examples of graphics intended to be displayed at small sizes). I've attached an example of a publisher logo which was a 200x200 image in the original epub. Magnifying it to 2000x2000 makes it look rather ugly.
Amen
Somehow, folk think that Up converting can magically fill in the gap details with precision.
You might get away with a few % (single digit), without it being harsh.... But any more
theducks is offline   Reply With Quote
Old 03-03-2019, 02:17 PM   #7
SFCurley
Junior Member
SFCurley began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2010
Device: iPhone
Thank you, all. Got it and very helpful.
SFCurley is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to resize images to 2 Million Pixels shorshe ePub 14 06-28-2013 12:35 PM
Looking for freeware to batch resize images. GoldThreader Workshop 10 04-23-2012 12:58 PM
resize images ? cybmole Sigil 5 04-03-2011 08:27 AM
Images Folder - Resize files Fossil Sigil 9 07-24-2010 11:36 AM


All times are GMT -4. The time now is 01:45 PM.


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