Quote:
Originally Posted by tselling
How would I go about optimizing childrens picture books that were scanned?
|
The usual route is to use pdf2ppm to convert the pdf into a series of images, imagemagick to rescale/resample the images to tiffs, then tiff2pdf to convert them back to pdf.
With those particular files you want to resample them to a lower resolution. NB when downsampling its usually better to start with a full colour image, so create colour ppms in the first stage not pgms.
The tools I mentioned above are available on linux/macports generally as parts of the poppler, imagemagick, and libtiff packages. You can probably get by with cygwin on windows. You can base your script on this post:
https://www.mobileread.com/forums/sho...4&postcount=22
You don't need the bit with 'pi' in that script, they're doing something different in that thread.