http://stackoverflow.com – I'm using ghostscript for compression PDF files. gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dUseTrimBox -dPDFSETTINGS=/screen -dFirstPage=0 -dLastPage=0 -dColorImageResolution=100 -dEmbedAllFonts=true -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf But if there is a TIFF in PDF, it will be invisible, and crash on iPad, Mac OS X. So how can I convert inner TIFF to JPG or PNG (HowTos)