|
@@ -25,8 +25,12 @@ int main(int argc, char *argv[])
|
|
std::string file_o( cimg_option("-o","./output.jpg","Output file") );
|
|
std::string file_o( cimg_option("-o","./output.jpg","Output file") );
|
|
|
|
|
|
const bool quiet = cimg_option("-q",false,0); // This is a hidden option
|
|
const bool quiet = cimg_option("-q",false,0); // This is a hidden option
|
|
|
|
+
|
|
|
|
+ const int rotate = cimg_option("-r",0,0);
|
|
|
|
+
|
|
|
|
+ printf("Rot: %d\n ",rotate);
|
|
|
|
|
|
- PageNormalizer pn = PageNormalizer(file_i, file_o, file_white_ref, file_black_ref, file_settings, quiet);
|
|
|
|
|
|
+ PageNormalizer pn = PageNormalizer(file_i, file_o, file_white_ref, file_black_ref, file_settings, quiet, rotate);
|
|
|
|
|
|
|
|
|
|
|
|
|