pdf-smart-crop
pdf-smart-crop copied to clipboard
Smart Crop
An Algorithm and CLI tool that can detect body area of PDF documents and crop margin automatically.
Usage
By CLI Tool
Download latest release executable jar from release page.
By Code
You can easy use smart-crop core functions with Maven. Visit JitPack for the latest package.
Step 1. Add the JitPack repository to your build file
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Step 2. Add the dependency
<dependency>
<groupId>com.github.jamespan.pdf-smart-crop</groupId>
<artifactId>smart-crop-core</artifactId>
<version>v1.0.1</version>
</dependency>