Any idea on how to best compile it to an ebook? Just stuffing the jpgs into a pdf rarely works well...
apt install img2pdf
img2pdf *.jpg -o leonardo-da-book.pdf echo $(for page in {1..1119}; do for side in R V; do
echo "000$side-$page.jpg"; done; done)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?
It may be useful to use zip -Z store. JPEG data isn't going to get much benefit from another layer of LZ77.