I\'m convert TIF images to PDF files with Tesseract text recognition. If in the TIF-image is little recognizable text, the page is rotated 90 or 180 degrees.