On 12/20/2013 10:23 PM, Lars Aronsson wrote:
where some fine print is no longer legible. What I
want is one that has only been reduced down
to 300 dpi or so. How can I get that?
With a little help from okfn-labs (Open Knowledge
Foundation), here is a script that works for my book:
hex=`printf "%04X" $pag`
dec=`printf "%04d" $pag`
if [ ! -s $dec.jpg ]
echo -n .
wget -q -O $dec.jpg
echo -n :
pag=`expr $pag + 1`
That is the URL for one tile, but the tile that I
request starts at 0,0 and is 10000 pixels wide,
so it contains the full page 1800x2400 pixels,
in full (pct:100) = 300 dpi resolution.
This was faster than waiting for BL's webmaster's
response on Monday.
In my case, I want the JPEGs. But if you want to
use a book in Wikisource, you might want to
create a Djvu or PDF bundle of all the JPEGs for
the entire book.
Lars Aronsson (lars(a)aronsson.se)
Project Runeberg - free Nordic literature - http://runeberg.org/