Foxit PDF Editor supports the size optimization of scanned PDFs during PDF creation from a scanner or by choosing File > PDF Optimizer > Optimize Scanned PDF in an existing scanned or image-based PDF. See also The Optimization Options in Custom Scan.