Hot answers tagged

25 votes

How can I reduce the resolution of images in an epub or mobi file?

Calibre already offers this functionality without any plugin. It's part of the ebook editor that installs with Calibre. The editor will only edit files in the epub or azw3 format though. You can ...
ChoiceD's user avatar
  • 351
5 votes
Accepted

How can I reduce the resolution of images in an epub or mobi file?

I had a similar situation: a 134 MB .mobi that I wanted to shrink. Here's how I reduced the file size to 26 MB. The key to this approach is that an .epub is actually just a zipped web page with ...
Matt Greene's user avatar
5 votes

How can I reduce the resolution of images in an epub or mobi file?

Note: I intended to leave this as a comment for @mosh but didn't have the necessary rep. This is my own personal solution based on the solution he outlined. This will recursively scan a specified ...
justathoughtor2's user avatar
4 votes

How can I reduce the resolution of images in an epub or mobi file?

bash script to for bulk compressing images in big.epub to small.epub on Windows7 or Linux. You need to install cygwin on windows for (bash, unzip, zip, find, imagemagick). #!/usr/bin/bash USAGE="...
mosh's user avatar
  • 141
3 votes

How can I reduce the resolution of images in an epub or mobi file?

Here is a Python script I use to automate reducing the size of epub books: https://github.com/murrple-1/epub-shrink Example usage: $ python epub-shrink/app.py input_file.epub output_file.epub --jpeg-...
hoju's user avatar
  • 131
3 votes
Accepted

What is the best way to read manga on Kindle?

The fastest and simplest way is to use a comic book archive format. If you already have the image files, make sure that they are named with the correct alphabetical and numerical order (I.E. cover....
Sekhemty's user avatar
  • 6,156
2 votes

How can I reduce the resolution of images in an epub or mobi file?

The short answer is that with few exceptions you should NEVER need to scale down .mobi files because Amazon.com will do it for you. I think 5.5 MB is a reasonable file size for an epub file. I don't ...
idiotprogrammer's user avatar
2 votes
Accepted

Any way to keep captions of the images always with the image?

Ultimately, it depends on which ereader devices you want to support. Unless you are making a fixed layout book, the only method that will work 100% of the time is to make the caption a part of the ...
blendenzo's user avatar
  • 296
2 votes
Accepted

How to add a background image to each page of mobi or epub books?

You could try with standard CSS rules and see if the results work for you. Example for the background: body { background-image: url(../Images/image.jpg); } You can also try other background ...
Sekhemty's user avatar
  • 6,156
2 votes

How can I reduce the resolution of images in an epub or mobi file?

Just install and use Send to PC official Kindle app for transferring files over the air to your device https://www.amazon.com/gp/sendtokindle/pc
Satbir Singh's user avatar
2 votes

How to avoid image distortion when convert my .epub to .mobi

Here is the css I use for my kindle images: div.image-container { width: 95%; margin-left: auto; margin-right: auto; } div.image-container img { width: 100%; display: inline; } The goal I ...
idiotprogrammer's user avatar
1 vote
Accepted

How to convert the pdf (images slightly distorted) of a book to a clearpdf/epub?

Here are two ways to convert a poorly photographed document into a more uesful and pleasing appearance: Optical Character Recognition (OCR): Convert the image to text using OCR software, either ...
DrMoishe Pippik's user avatar
1 vote

JPG continues to appear in subsequent pages

After much trial, I finally got round the problem by breaking paragraph after each image.
Mallam Awal's user avatar
1 vote

JPG loses quality during ePUB to PDF conversion with calibre

You can disable image scaling by setting Output Profile to Tablet in Page setup :)
maciej's user avatar
  • 70
1 vote
Accepted

Is there a way to have a fallback format for images?

Great question. I checked the Kindle Publishing Guidelines and there's no instruction about that. (CSS Media queries can assist in some cases though). Here's a page about SVG fallbacks for the web ...
idiotprogrammer's user avatar
1 vote

How to create an ePub full-page image which properly reflows

The other suggestions didn't work for the device I'm using (reMarkable). However, I found an epub file that looked right so grabbed the cover page from that. It's an xhtml file with the contents as ...
PhilT's user avatar
  • 111
1 vote

How to create an ePub full-page image which properly reflows

Either put the images in their own html files or use the code above, page-break-before, or -after. In these situations I generally use the css height: 100%, on both the container and the image ...
Ryn's user avatar
  • 11
1 vote

Move image to top of the page (like LaTeX’s \begin{figure}[t])

My guess is no. You want the img (or the div container) to be a block element. At the same time, you want the image to act like an inline element -- adjusting to the display. A block element by ...
idiotprogrammer's user avatar
1 vote
Accepted

Kindle vs Hyperlinked Images

(I assume you are talking about an internal, not external link. Is that right?) Here are some helpful clues and semi-educated guesses. The epub3 spec doesn't say anything about whether reading ...
idiotprogrammer's user avatar
1 vote

Downscaled screenshots of HTML tables look blurry. Why?

Sekhemty already gave a good answer. I just wanted to throw out further thoughts. First, issues of rendering HTML tables and images are less severe on tablets with bigger screens. You can put a note ...
idiotprogrammer's user avatar
1 vote

Downscaled screenshots of HTML tables look blurry. Why?

I don't think that you can really "fix" this; representing text with a raster image and downscaling it means that it will be displayed with far less pixels that are required to provide a clean and ...
Sekhemty's user avatar
  • 6,156
1 vote

Any way to keep captions of the images always with the image?

Here's a practical suggestion. Download or buy one of the epub files by Oreilly publishers (or some other technical publishers). (They may even have some free downloads available). Then rename the ....
idiotprogrammer's user avatar
1 vote

How to make images scale with text size on an Amazon Kindle?

First, I don't know the specifics of using Calibre for images, but here is the css code I use to make images work in epubs which will be converted by kindlegen to Kindle. https://ebooks....
idiotprogrammer's user avatar
1 vote

What is the best way to read manga on Kindle?

The easiest solution what I found is Kindle Comic Converter, which also cuts the edges. I used it several times, and worked fine (didn't cut into the text, etc.)
Anna Dorottya Simon's user avatar
1 vote

Centering images in ePub made with Apple Pages

The right alignment results from the margin-left:16.5528% in the span surrounding the image. I am not sure if you can change that in Apple Pages. I would experiment with Position (at the bottom of ...
Anthon's user avatar
  • 7,621
1 vote

How to skip those hyphens while searching in acrobat

If I understand your question correctly, you are asking for a way to automatically double-check an OCR conversion from image to text. I'm afraid that is not possible: checking would require conversion ...
Tom's user avatar
  • 4,658
1 vote
Accepted

Interior Image requirements for non-Kindle distributors & devices with retina displays?

Egad, I'm sorry that no one answered this very important question. I shall try to answer it by myself with what I've learned over the past week. I'm still testing and will add more information as ...
idiotprogrammer's user avatar
1 vote

Stretching an image to fit the screen

This is the correct answer (trust me on this -- I took several days to figure it out). Kindle's formatting guide specifies that you should include as high a resolution file as you possibly can. Then,...
idiotprogrammer's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible