Comments (5)
That's because in that case the first page is set as the cover, and not all epub readers display it when reading (will show up in the library screen instead).
from cpublib.
I've tried both scenarios
./CPubMake -d "firstvolume" -o "output.epub"
./CPubMake -d "firstvolume" -c "firstvolume/001.jpg" -o "output.epub"
And in both scenarios, the first image of the folder is skipped. Is this intended?
from cpublib.
Try extracting the generated epub (they are just zip files with a different extension), then check in OBEPS folder: is Cover.jpg the first page you are missing?
from cpublib.
That is correct. I extracted both generated epub files, and checked their respective Cover.jpg. They're both the first page that's missing.
It seems like CPubMake
implicitly uses the first image of the folder as the cover (if -c
flag is not provided), and the cover image is not included as the first page of the epub. Is this an intended feature?
If so, maybe a workaround for me is to make a copy of the first image 001.jpg
as 000.jpg
. This way, 000.jpg
will be used as cover, and 001.jpg
will still be included as the first page of the epub.
from cpublib.
Yes, that is an intended feature. In general, the cover is not meant to be also the firts page of an ebook: if people author books with wide images for two pages spreads adding an extra pages messes everything up.
For your situation, you can use the workaround you mentioned.
from cpublib.
Related Issues (2)
- Example of EPUB HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpublib.