#!/bin/bash

pdf2ps $1 tmp.ps
ps2pdf -dPDFSETTINGS=/screen -dDownsampleColorImages=true -dColorImageResolution=100 -dColorImageDownsampleType=/Bicubic tmp.ps $1
