For years I've been mildly obsessed with the Voynich Manuscript. An ancient book, written in a language no one can decipher, showing plants which don't exist, and measuring astronomical configurations which make no sense. The book is an enigma. Many think it to be an elaborate hoax - others have more.... esoteric explanations.
Regardless of what the book means, it is a beautiful and mysterious work of art. And I want to read it on my Kindle!
Archive.org has an ebook version of the Voynich Manuscript, but it has gone through a bizarre OCR process which, unsurprisingly, leaves it unreadable. So I've decided to roll my own!
Getting The Manuscript
The PDF on Archive.org is a bit cumbersome and doesn't work very well on Kindle or other readers.
The Yale site has all the scans available as high-res JPGs or MrSIDs - but it's a pain to download hundreds of images from the site.
So - I turned to a torrent. Don't worry! These images are hundred of years old - they are in the public domain.
The Original Image
The images I obtained are extremely high resolution scans of the manuscript.
I've shrunk down the above image - here is a detail of it, so you can see just how high quality the scans are.
A typical page is 3MB - taking the whole book to around 700MB. There's easily enough space on the Kindle, but the time to render every page will be prohibitively long.
Crop and Resize
Firstly, the image needs to be cropped to the same aspect ratio as the Kindle screen (0.75), then resized to 600*800.
From 3MB, the image is now 111KB.
eInk typically only handles greyscale images. So I dropped the colours out of the image.
This takes the file size to under 100KB.
We can make the image marginally clearer to read by dumbly removing the background colour.
As you can see, this doesn't look wonderful - many details are lost and there are odd looking artefacts throughout the image.
How They Look On The Kindle
The images look fantastic on the Kindle.
It turns out that there's no real need to remove the background colours - although it does make it maginally clearer. Changing the the image to greyscale also has little appreciable difference. I think I'll probably keep them in colour so that future ebook readers can see them in all their glory.
Incidentally, I tried the high-resolution file. The kindle took around 30 seconds to render it. Here's a quick screen grab of it fully zoomed in.
This is a work in progress. Converting several hundred images will take a fair bit of time - unless I fully automate it and drop the cropping.
The Kindle can be hacked to display images (or use them as screensavers) - but I will convert the images into an ePub and Mobi so they can be easily read by all eReaders.
Once done, I'm sure the mysteries of the universe will be revealed to me!