Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-05-2021, 06:28 AM   #1
Robert Hoover
Junior Member
Robert Hoover began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2021
Device: none
How? Resize all images in epub to veiwport size

The cover image automatically resizes depending on the viewport size used. Is there some way to make all the interior images also resize to match the viewport size?

I would like to create comic books in epub format, and mobi and azw3 if possible, where the image will fill the viewport of the device used to read the comic books.

Any help on this would be deeply appreciated.

Thanks

Robert
Robert Hoover is offline   Reply With Quote
Old 06-05-2021, 11:46 AM   #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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes, use the same svg markup as for the cover. If you use the calibre editor, it has an insert image button with a "full page image' checkbox that will generate the markup for you.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-05-2021, 11:50 AM   #3
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,497
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
For a reflowable EPUB you can use an SVG wrapper around images to make them fit as large as possible on the screen without distortion. That should work in calibre and many EPUB readers.

Another approach is to create a fixed-layout EPUB. Support for that within calibre is very limited. For other platforms support varies and may require proprietary markup.

On the Kindle platform comic viewing works in KF8 (azw3) and KFX formats, but not MOBI without KF8. The proprietary markup needed is documented in the Kindle Publishing Guidelines. It will likely be easier to produce a Kindle comic using software such as Kindle Comic Converter or Amazon's Kindle Comic Creator. If your comic has panels the Kindle can allow viewing it either page-by-page or panel-by-panel.

Another alternative is to use a comic-specific format, such as CBR or CBZ. You can read that in calibre and in comic-specific apps, but not on Kindle.

(This thread will likely be moved by a moderator since it is not appropriate for the calibre development sub-forum.)
jhowell is offline   Reply With Quote
Reply

Tags
aspect ratio, image, resize, viewport


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Way to resize all images SFCurley Conversion 6 03-03-2019 02:17 PM
Size of images in epub/kepub Patricius Kobo Reader 6 01-20-2019 09:29 PM
Images don't keep size (html to EPUB) zoomiest Conversion 2 11-05-2014 02:21 PM
What is the right size for images in epub? Kasper Hviid ePub 4 06-03-2013 02:07 PM
resize images ? cybmole Sigil 5 04-03-2011 08:27 AM


All times are GMT -4. The time now is 08:53 AM.


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