3 ms·
Any idea on how to best compile it to an ebook? Just stuffing the jpgs into a pdf rarely works well...
by NoMoreNicksLeft 1y ago
Any idea on how to best compile it to an ebook? Just stuffing the jpgs into a pdf rarely works well...
- c0balt 1y agoI haven't that done this in some time, but templating some markdown code for pandoc and creating an ebup might be a viable avenue.
- NoMoreNicksLeft 1y agoOooh... I have even less luck with epub, when the pages are an image-per-page.
- kragen 1y agoMaybe what rarely works well for NoMoreNicksLeft is having a gigabyte of JPEGs in a single HTML chapter inside the epub? In that case you could do something like divide the files into 373 "chapters" of 6 pages each? One of the fragmentary editions I linked on the Archive uses the .cbr Comic Book Reader format; perhaps that is a better format than .epub for high-resolution scans of every page?
- eMPee584 1y agoocrmypdf (rocks!)
- foofoo12 1y agoI usually do what rarely doesn't work well for you, but it works decently for me. You get 1 page per image and the image isn't compressed or touched at all. apt install img2pdf img2pdf *.jpg -o leonardo-da-book.pdf
- nunodonato 1y agowouldnt this mess up the order? I think you are supposed to view it like R1, V2, R2, V2, etc
- atoav 1y agoCalibre comes with a ebook-convert command, that one might work
- ticulatedspline 1y agoEasy way would be to just drop them in a zip and label it .cbz. Most readers handle CBR/CBZ just fine.
- kragen 1y agoOh, is .cbz that simple? Does it use the file order of the zipfile members or some other order? (https://acbf.fandom.com/wiki/ACBF_Editor_-_Creating_Metadata https://acbf.fandom.com/wiki/ACBF_Editor_-_Creating_Metadata says it uses alphabetical order, which is the wrong order in this case.) It may be useful to use zip -Z store. JPEG data isn't going to get much benefit from another layer of LZ77.