Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ePub cover #66

Closed
TienHai opened this issue Jul 8, 2014 · 4 comments
Closed

ePub cover #66

TienHai opened this issue Jul 8, 2014 · 4 comments

Comments

@TienHai
Copy link

TienHai commented Jul 8, 2014

Hi !

How I can get the cover file from my ePub ?
In my opf file, I have a meta with name "cover".

But in Package.java I don't see where I can get this meta and write a thumbnail for display the epub cover for choose in a list.

Thanks

@datalogics-bhaugen
Copy link
Contributor

Hey @TienHai it looks like you can get the idRef from the List of SpintItems on the Package object.

I don't know how you would get a thumbnail for displaying the cover though. Hope this helps a little though!

@TienHai
Copy link
Author

TienHai commented Jul 8, 2014

Hello,
the list of SpinItems on the package object give only pages, I add a page cover, but in a epub in "metadata" we have a "meta" with "name=cover".

@TienHai
Copy link
Author

TienHai commented Jul 9, 2014

Hello,

I make a mistake, in ePub3 the cover is not declare in "metadata", but in "manifest", have a item with property "cover-image".
I see in package.cpp have a method "ManifestItemsWithProperties" but can't call from java side.

Tien Haï

@TienHai
Copy link
Author

TienHai commented Jul 10, 2014

I close this issue, because a write a new one with a solution.
#68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants