Repo for the search and displace ingest module that takes odf, docx and pdf and transforms it into .md to be used with search and displace operations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.7 KiB

3 years ago
  1. {
  2. Deskew
  3. by Marek Mauder
  4. http://galfar.vevb.net/deskew
  5. The contents of this file are used with permission, subject to the Mozilla
  6. Public License Version 1.1 (the "License"); you may not use this file except
  7. in compliance with the License. You may obtain a copy of the License at
  8. http://www.mozilla.org/MPL/MPL-1.1.html
  9. Software distributed under the License is distributed on an "AS IS" basis,
  10. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
  11. the specific language governing rights and limitations under the License.
  12. Alternatively, the contents of this file may be used under the terms of the
  13. GNU Lesser General Public License (the "LGPL License"), in which case the
  14. provisions of the LGPL License are applicable instead of those above.
  15. If you wish to allow use of your version of this file only under the terms
  16. of the LGPL License and not to allow others to use your version of this file
  17. under the MPL, indicate your decision by deleting the provisions above and
  18. replace them with the notice and other provisions required by the LGPL
  19. License. If you do not delete the provisions above, a recipient may use
  20. your version of this file under either the MPL or the LGPL License.
  21. For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html
  22. }
  23. program deskew;
  24. {$APPTYPE CONSOLE}
  25. {$IFDEF FPC}
  26. {$ERROR 'Use deskew.lpr as FPC/Lazarus project file'}
  27. {$ENDIF}
  28. uses
  29. RotationDetector in 'RotationDetector.pas',
  30. CmdLineOptions in 'CmdLineOptions.pas',
  31. ImageUtils in 'ImageUtils.pas',
  32. MainUnit in 'MainUnit.pas';
  33. begin
  34. {$IFDEF DEBUG}
  35. ReportMemoryLeaksOnShutdown := True;
  36. {$ENDIF}
  37. RunDeskew;
  38. end.