pdf2htmlEX can also put all that content in different files (.html. In the examples below, the HTML version is one big file including everything (all the pages with HTML5, CSS, JS, fonts and images fonts and images are coded in Base64, which can make the file quite big). The ePub cover image will be made from the first page of the PDF file (png format). For eBooks with mainly vector images, it is better to chose PNG (lossless compression). if you chose svg (vector and bitmap format), the vector images of the PDF will remain in vector format, but: a) you cannot chose the resolution of the bitmap images (it is the one from the PDF) b) the bitmap images will be included in the svg files (Base64 coded) c) this format is not always correctly rendered by eBook readers d) the generated epub file is not always passing the epub check.Ī vector image can be as simple as a line, a rectangle, a table frame, a colored background, etc.įor eBooks with a lot of bitmap images, it is better to chose JPG (compression with loss) to not have a file too big.if you chose png or jpg (bitmap formats), the vector images of the PDF will be converted in bitmap images (rasterized).If you want, you can hit ENTER to all the questions. Title, author, publisher, year, language, ISBN number, subject.Resolution of the images in the epub in dpi (e.g.: 150 or 300).Format of the images in the epub (png, jpg or svg).Once you launch pdf2epubEX, some information will be displayed like the book/PDF width and height (in inches and cm), then some questions will be asked like: Remark: use the dodeeric/pdf2epubex:original Docker image to use the original version of pdf2htmlEX (coolwanglu). Docker run -ti -rm -v `pwd`:/temp dodeeric/pdf2epubex pdf2htmlEX myfile.pdf
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |