Rotate with ImageMagick July 23, 2014 in pdf convert -rotate 270 -density 300 -compress lzw in.pdf out.pdf