-
Notifications
You must be signed in to change notification settings - Fork 234
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
Get page as image #291
Comments
@Impre-visible you may require an external library such as Pillow (https://pillow.readthedocs.io/en/latest/handbook/index.html). |
I found a way to do that, I send it here in a few hours so you can see how I did |
Wait, do you want to get HTML content of a pages as image or all images inside of the EPUB file? If it is former it would probably be the best to unzip EPUB file to temp directory and use some of the HTML2IMAGE 3rd party libraries to create an image. Extracting to temp directory so the 3rd party tool has access to images and css files. If it is latter then you do something like (very simple version which does not include some image post processing):
|
I tried the latter one: |
Hi, I want to read an epub, and get all the pages as images. Is that possible ?
I tried that, but don't work :
The text was updated successfully, but these errors were encountered: