public void setApplyRotation(boolean applyRotation) {
        this.applyRotation = applyRotation;
        userConfigured.add("applyRotation");
    }
Sets whether or not a rotation value should be calculated and passed to ImageMagick.

@param applyRotation to calculate and apply rotation, false to skip.  Default is false
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-ocr-module/src/main/java/org/apache/tika/parser/ocr/TesseractOCRConfig.java