|
|
#1 |
|
Connoisseur
![]() Posts: 74
Karma: 10
Join Date: Nov 2025
Device: none
|
Need comic epub for learning
I need some comic epub files to looking into it's internal structure, to see what's different from text based epub.
Can someone share some all image comic epub flies? Or tell me which title should I looking for.
|
|
|
|
|
|
#2 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,271
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Please note epub3 books made of only of images means that images are used in the spine and that is not well supported for many e-reader platforms and there is still debate on how and if they should be allowed. There is also the question of accessibility i.e. where should the alt image description be put for screen reading and accessibility software.
All of this points to using only xhtml files in the spine each loading its own image (either directly or via an svg wrapper) which includes alt info or svg description as required for accessibility as well as other additional information to allow for screen reading of any text or translations. Most current comic books are in a specialized non-epub format as the epub3 spec has not really been clear. Even Sigil requires each page to be an xhtml file in the OPF spine to be as conservative as possible and allow their use on any e-reader. These xhtml pages can of course contain a single image or inline svg. That is why most true comic books use their own unique format, not epub. Last edited by KevinH; 01-29-2026 at 11:51 AM. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,886
Karma: 150266009
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If you want accessibility for comics, you would need to put in all the text and make it not displayed so reading systems can handle reading it to you. Also, you can't put text in alt that would work as you'd have to describe every single frame in that one alt.
Comics and accessibility in ePub do not go together. |
|
|
|
|
|
#4 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,271
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Or simply use a fixed layout for both and make each subframe a separate image with its own alt. I have seen that.
|
|
|
|
|
|
#5 |
|
Connoisseur
![]() Posts: 74
Karma: 10
Join Date: Nov 2025
Device: none
|
I see, how to use svg in xhtml files? I have only used img tag to link pic files.
And another thing, I see pictures in full screen ( in reader of course), but I have no idea how they do it. The img tag only put pics in texts, even with only one pic per xhtml file, the pic still sits on normal page background, not a full screen like gallery mode. |
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,454
Karma: 20534347
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Connoisseur
![]() Posts: 74
Karma: 10
Join Date: Nov 2025
Device: none
|
I do not understand, what is a svg wrapper? Googleing it gives a lot of different results. Do I code the wrapper my self? Do I download some software? Do I copy someone's code?
|
|
|
|
|
|
#8 |
|
monstrous mythical beast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80
Karma: 4000000
Join Date: May 2023
Device: Tab Ultra C, Meebook P78 Pro, Viwoods AIPaper Reader, various NXTPAPER
|
Since comics are images I really don't see any use for the epub format instead of the archives cbz or cbr, which are just zip or rar archives with images. But then I only use android based devices for mobile reading. Although SumatraPDF can display cbr and cbz files on windows as well.
|
|
|
|
|
|
#9 |
|
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,454
Karma: 20534347
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
An SVG wrapper is just a way to use some of the built-in functionality of an SVG and apply it to a non-SVG image. Something like this:
Code:
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
preserveAspectRatio="xMidYMid meet"
height="100%" width="100%"
viewBox="0 0 512 512">
<image width="512" height="512" xlink:href="../Images/img_faq.png"/>
</svg>
There are other, more advanced uses, that allow you to add captions and limit the image size so it doesn't take up the full screen. In Sigil you can set up a template file that will do most of the work for you when you use the "Add Cover" tool. You can find the exact instructions in the User Guide. I made a template like this for ePub2 (you can make another one for ePub3): Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>enter-title</title>
<style type="text/css">
* {padding:0; margin:0; background-color:black}
h1 {display:none}
div {width:97vw; height:97vh ; margin:1.3vh auto}
</style>
</head>
<body>
<h1 title="Cover"/>
<div>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
preserveAspectRatio="xMidYMid meet"
height="100%" width="100%"
viewBox="0 0 SGC_IMAGE_WIDTH SGC_IMAGE_HEIGHT">
<image width="SGC_IMAGE_WIDTH" height="SGC_IMAGE_HEIGHT" xlink:href="SGC_IMAGE_FILENAME"/>
</svg>
</div>
</body>
</html>
This works great for a cover page, but if you want to make additional pages then you can either copy/paste the appropriate section, or you could use one of the plugins from the Sigil Plugin Index called InsertImageSVG to help. |
|
|
|
|
|
#10 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49,913
Karma: 178398936
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I've been using code rather similar to Turtle91's for doing kids books that use full page images. For me, the header allows creating a ToC without requiring me to manually create one every time I make a change. With a few changes, you can use the same wrapper for ePub2 and ePub3.
|
|
|
|
|
|
#11 |
|
Connoisseur
![]() Posts: 74
Karma: 10
Join Date: Nov 2025
Device: none
|
I see, I will look into it.
Another thing: Code:
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" Last edited by icearch; Yesterday at 12:25 AM. |
|
|
|
|
|
#12 |
|
Connoisseur
![]() Posts: 74
Karma: 10
Join Date: Nov 2025
Device: none
|
After some experiment, I found it depends on the reader.
So I think I will just copy cover code to make every img in separate xhtml files. |
|
|
|
|
|
#13 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,271
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
Under old pure xml if you were using a fully validating parser and specified the location of a schema, a schema might be downloaded that defined these new tags but svg has long been integrated into normal html and xhtml with modern parsers. Last edited by KevinH; Yesterday at 12:25 PM. |
|
|
|
|
|
|
#14 |
|
Connoisseur
![]() Posts: 74
Karma: 10
Join Date: Nov 2025
Device: none
|
I see, thank you.
|
|
|
|
|
|
#15 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,583
Karma: 21743811
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I learned from calibre's changelog that there's something called "'Open Manga Format' non-conformant EPUB files produced by some Japanese publishers". Maybe that's what you're looking for?
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to highlight the words I'm learning in an epub file? | zhliu0124 | Editor | 16 | 07-29-2022 02:37 AM |
| ePub Comic Creator | qsipl | Workshop | 6 | 03-29-2014 01:05 PM |
| epub for learning SQL | CommuteDude | Reading Recommendations | 5 | 04-14-2013 06:13 PM |
| Help me configure a comic ePub | Boomstick | ePub | 1 | 04-25-2010 12:49 AM |
| ePUB comic test | Jellby | ePub | 24 | 04-12-2010 08:08 PM |