EPUB FACTORY
Learn about EPUB / How to make one
How to make one

Making an EPUB from images
manga, photo books and illustration collections

For a book where the look of the page is the point — manga, a photo book — you build a fixed-layout EPUB from images. The mechanism is simple: paste one image per page and bind them. How well it turns out, though, depends almost entirely on the preparation you do first.
In this article
  1. The shape of the job
  2. Number your file names
  3. Image format and resolution
  4. Choosing the binding direction
  5. Handling double-page spreads
  6. Living with file size
  7. Checking the result

The shape of the job

There are four stages.

1Prepare the images (format, resolution, file names)
2Decide the binding direction and the book details
3Convert to EPUB
4Check the display in a reading app

Of these, the first is what decides the result. With the preparation done, the conversion can be automated.

Number your file names

This is the most important part, and the part people most often miss.

Page order in an EPUB comes from the order of the file names. Name them wrong and the pages swap around.

◯ Right
 001.jpg 002.jpg … 010.jpg 011.jpg

× Goes wrong
 1.jpg 2.jpg … 10.jpg 11.jpg
 → sorts as 1, 10, 11, 2, 3 …

Computers sort them as text, so without matching digit counts "10" lands before "2". Use a running number padded to the length your page count needs. Three digits past 100 pages, four digits past 1000.

If you want names in there too

001_cover.jpg — adding a description after the number is perfectly fine. As long as the name starts with a zero-padded number, the order stays stable.

Image format and resolution

These are the formats normally used in EPUB.

FormatSuited toWatch out for
JPEGPhotographs, colour illustrationsCompress too hard and it degrades
PNGLine art, images with a lot of textFile size climbs quickly
WebPWhen you need to keep the size downCheck reader app support

For the body of a manga, JPEG is usually enough even for mostly-monochrome pages, though art with a lot of fine linework can look cleaner as PNG. PNG for the cover and JPEG for the body is a common split.

A rule of thumb for resolution

Bigger is not better. Too big and the file balloons and reading apps get sluggish.

Choosing the binding direction

Japanese manga reads right to left. Forget this setting and pages turn the wrong way.

In EPUB the setting lives in a file called content.opf .

ValueMeaningBooks that use it
rtlRight to leftJapanese manga, vertical text
ltrLeft to rightHorizontal text, Western-style books

In a conversion tool it is usually presented as a "right-bound / left-bound" choice. Get it wrong and your readers start at the last page.

Handling double-page spreads

Manga often uses a spread — two pages as a single picture. There are two ways to handle one in EPUB.

Option 1: split it in two

Cut the spread down the middle and insert it as two images in order. The advantage is that every environment treats them reliably as pages. If the app supports landscape, they line up automatically.

Option 2: keep it as one image

Insert the wide image as a single page. The picture is not cut, but on a portrait screen it shows up small.

Which to choose

In practice, option 1 (splitting) is the safe one. How apps arrange spreads varies by implementation, and they do not always line up the way you intended. Consider option 2 only when cutting the artwork is unacceptable for the work itself.

Living with file size

Image-based EPUBs get large, unavoidably. A 200-page manga running to several tens of megabytes is nothing unusual.

A large file has knock-on effects.

The answer comes down to keeping the resolution to what is actually needed. Dropping in print-resolution data only inconveniences readers; on screen it looks all but identical.

Checking the result

When the conversion finishes, always check the display. The things to look at are fixed.

In particular, if you plan to publish on Kindle, checking in Amazon’s own preview tool is essential. Amazon converts the EPUB it takes in to its own format, so what you see in your own EPUB reader is not necessarily what readers get.

Build an EPUB from a folder of images

Pick a folder of numbered images and you get a fixed-layout EPUB with the binding direction and page size sorted out. No account, no installation.

Try EPUB FACTORY