Question 3 

$ for f in *pdf
> do
>     pdftotext - - < $f | \
>     sed -e 's/^L//' | \
>     grep .
> done > data.b64
$ base64 -d - < data.b64 > data
$ file data
data: PNG image data, 540 x 400, 8-bit colormap, non-interlaced