Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-20-2016, 09:07 AM   #1
JohnnyParker
Junior Member
JohnnyParker began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2014
Location: Birkenhead, UK
Device: ipad 2, ibooks on macbook, android Galaxy S3
Publishing Kids Picture books outside Amazon

Hi Folks

I've used Kindle Kids Book creator to make MOBI files to upload to Amazon but I want to publish to other platforms.

Do I have to make a separate EPUB file with the image dimensions to suit each type of reader?

Amazon seems to manage this for their different devices but am not sure where to start.

Cheers

Johnny
JohnnyParker is offline   Reply With Quote
Old 08-20-2016, 10:23 AM   #2
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by JohnnyParker View Post
IDo I have to make a separate EPUB file with the image dimensions to suit each type of reader?
No, just use screen-relative (%) sizes instead of absolute or pixel sizes for height, width, max-width, etc. on the <img> styles. If you want to have finer control over aspect ratio (fit, stretch, clip etc.) then use <svg> instead of <img>

e.g. this image will display 100% of the available screen height with aspect ratio preserved:

Code:
<head>
  <title>Cover</title>
  <style type="text/css">
    @page { margin:0px; }
  </style>
</head>
<body style="margin:0px;">
  <div style="margin:0px; text-align:center;">
    <img style="height:100%; width:auto;" src="my-picture.png" />
  </div>
</body>
GeoffR is offline   Reply With Quote
Advert
Old 08-20-2016, 01:03 PM   #3
JohnnyParker
Junior Member
JohnnyParker began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2014
Location: Birkenhead, UK
Device: ipad 2, ibooks on macbook, android Galaxy S3
Thanks for the advice GeoffR
I've got Calibre is this a good tool to use?
JohnnyParker is offline   Reply With Quote
Old 08-21-2016, 01:03 AM   #4
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,101
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Calibre's Editor is good to use, as is Sigil. Both are pretty equivalent in their capabilities - both free. Calibre tends to use more keyboard commands while Sigil is a little more GUI. I'd recommend trying both and seeing which one you like.
Turtle91 is offline   Reply With Quote
Old 08-21-2016, 06:58 AM   #5
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Has Calibre Editor been updated since it debuted? I found Sigil satisfactory so I didn't switch over during the interregnum, and then of course it acquired new developers and has evolved nicely (with Preview Pane, most significantly).
Notjohn is offline   Reply With Quote
Advert
Old 08-21-2016, 08:47 AM   #6
JohnnyParker
Junior Member
JohnnyParker began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2014
Location: Birkenhead, UK
Device: ipad 2, ibooks on macbook, android Galaxy S3
Thanks Not John and Dion will have a gander at Sigil too.

Cheers

Johnny
JohnnyParker is offline   Reply With Quote
Old 08-21-2016, 09:05 AM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
But don't forget you will need to have hi-resolution images because a lot of the new screen are hi-resolution and low resolution images can be a problem to see if the resolution is too low and can be fuzzy if stretched too much.
JSWolf is offline   Reply With Quote
Old 08-21-2016, 01:21 PM   #8
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,101
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by Notjohn View Post
Has Calibre Editor been updated since it debuted? I found Sigil satisfactory so I didn't switch over during the interregnum, and then of course it acquired new developers and has evolved nicely (with Preview Pane, most significantly).
Yes, it's been updated and is pretty good. I'm more of a GUI type user, so I prefer Sigil, but Calibre has a few nice features that aren't available in Sigil such as regex functions. Those can save a few find/replace steps.
Turtle91 is offline   Reply With Quote
Old 08-22-2016, 02:19 AM   #9
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by Turtle91 View Post
Yes, it's been updated and is pretty good. I'm more of a GUI type user, so I prefer Sigil, but Calibre has a few nice features that aren't available in Sigil such as regex functions. Those can save a few find/replace steps.
Well, you can store RegEx actions in a search list in Sigil and execute as a group. What would the added value of a RegEx function?
Toxaris is offline   Reply With Quote
Old 08-22-2016, 03:31 AM   #10
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
Quote:
Originally Posted by Toxaris View Post
What would the added value of a RegEx function?
If you really want an answer, I recommend this link:
https://manual.calibre-ebook.com/function_mode.html

In addition, as an example I bring two codes to switch arabic numbers to romans, and viceversa.

Code:
#Searching: (?)(\d+)(?)
def num_roman(input):
    ints = (1000, 900,  500, 400, 100,  90, 50,  40, 10,  9,   5,  4,   1)
    nums = ('M',  'CM', 'D', 'CD','C', 'XC','L','XL','X','IX','V','IV','I')
    result = ""
    input=int(input)
    for i in range(len(ints)):
        count = input//ints[i]
        result += nums[i] * count
        input -= ints[i] * count
    return result
def replace(match, number, file_name, metadata, dictionaries, data, functions, *args, **kwargs):
    return match.group(1)+str(num_roman(match.group(2)))+match.group(3)
Code:
#Searching: (?)(.+?)(?)
numeral_map = zip(
    (1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1),
    ('M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I')
)
	   
def arabic_num(n):
    n = unicode(n).upper()
    i = result = 0
    for integer, numeral in numeral_map:
        while n[i:i + len(numeral)] == numeral:
            result += integer
            i += len(numeral)
    return result
def replace(match, number, file_name, metadata, dictionaries, data, functions, *args, **kwargs):
    return match.group(1)+str(arabic_num(match.group(2)))+match.group(3)
jbacelar is offline   Reply With Quote
Old 08-22-2016, 06:18 AM   #11
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by jbacelar View Post
If you really want an answer, I recommend this link:
https://manual.calibre-ebook.com/function_mode.html
Why would I ask a question if I don't want an answer?

Thank you for the link. That answers my question.

Personally I haven't found the need of functions as described, but I can see the added value for some cases.
Toxaris is offline   Reply With Quote
Old 08-22-2016, 04:34 PM   #12
JohnnyParker
Junior Member
JohnnyParker began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2014
Location: Birkenhead, UK
Device: ipad 2, ibooks on macbook, android Galaxy S3
Thanks for all the detailed input.

My book is just images - the story text is part of the image.

Little bit of text for copyright and link to other books but no chapter numbers or TOC.

Talking of high res, isn't there a file size limit with EPUB's - that's going to limit resolution surely?

Johnny
JohnnyParker is offline   Reply With Quote
Reply

Tags
epub, image resize, kids picture books


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free (nook) 3 titles by J. Fosberry [Kids Literary/History Adventures Picture Books] ATDrake Deals and Resources (No Self-Promotion or Affiliate Links) 2 01-19-2015 01:06 AM
Free (Kindle/Kobo) Dora the Explorer and Friends [Kids Picture Books + Multilingual] ATDrake Deals and Resources (No Self-Promotion or Affiliate Links) 2 09-17-2014 07:10 PM
Publishing Free E-Books on Amazon G J Lau Writers' Corner 5 05-23-2011 01:10 PM
Hi, free animated picture books for kids and a request for feedback Jeanette Self-Promotions by Authors and Publishers 0 02-02-2010 01:35 PM


All times are GMT -4. The time now is 06:20 AM.


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