actually do ocr when the uploaded image is not tiff… also convert uploaded images to greyscale with a depth of one so tesseract can work. in the future, this "1-bit" image should actually be stored as meta data used only to extract the ocr text, which should then be merged with the original image to produce a searchable pdf.