Giter Site home page Giter Site logo

luckylinking / briss-2.0 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mbaeuerle/briss-2.0

0.0 1.0 0.0 2.56 MB

Briss 2.0 is intended to be a GUI Update for the Briss PDF cropping tool.

License: GNU General Public License v3.0

Java 98.83% HTML 1.17%

briss-2.0's Introduction

Briss 2.0

Briss 2.0 is intended to be a GUI Update for the Briss PDF cropping tool.

Briss 2.0 is based on Briss 0.9 which is located at sourceforge: http://sourceforge.net/projects/briss/

Things that are done by now

  • Small refinements on gui which improve the workflow
  • Better file chooser than provided by swing
  • Added support for drag and drop

Images

Startscreen with drag and drop support: Image of BRISS 2.0 Startscreen Cropping view: Image of BRISS 2.0 Cropping View

Build instructions

To build, run the following command:

./gradlew distZip

You can find the built version in build/distributions

Briss 0.9 Notes

BRISS - BRight Snippet Sire

This is a small application to crop PDF files. It helps the user to decide what should be cropped by creating a overlay of similar pages (=>all pages within a pdf having the same size, orientation(even/odd)).

General

Starting the application

You can run the application by executing following command in terminal:

.\bin\Briss-2.0.bat

or

.\bin\Briss-2.0.bat cropthis.pdf

(The second line comes in handy if you want shortlinks for pdf editing)

Commandline

If you prefer command line and trust the basic automatic detection algorithm use it this way (can be batched!):

.\bin\Briss-2.0.bat -s [SOURCEFILE] [-d [DESTINATIONFILE]]

Example:

.\bin\Briss-2.0.bat -s dogeatdog.pdf -d dogcrop.pdf
.\bin\Briss-2.0.bat -s dogeatdog.pdf

the second line will create the cropped pdf into dogeatdog_cropped.pdf

To split according to columns/rows, respectively use the --split-col and --split-row arguments. For example:

.\bin\Briss-2.0.bat -s dogeatdog.pdf -d dogcrop.pdf --split-col

Splitting columns will try to split the pdf into two columns. Splitting rows will try to split the pdf into two parts by cutting pages in half.

Instructions

  1. Load a pdf by pressing "Load"
  2. Create multiple crop rectangles for all page cluster: Each crop rectangle will result in a cropped page.
  3. Press the left mouse button on a corner where you want to start
  4. Draw the rectangle
  5. Release the mouse button
  • [OPTIONAL] Drag around crop rectangles (press and hold mouse button down)
  • [OPTIONAL] Set width/height to maximum: Select the crop rectangles by holding down CTRL + left click into rectangle to select. All crop rectangles will be resized to the biggest one, either on width or height.
  1. Start the cropping by pressing "Crop" or preview and specify the destination of the cropped pdf.

[OPTIONAL FEATURES]

  • Select a Rectangle with ctrl + mouse click. Then copy (ctrl-c) and paste it into another cluster.
  • Use hotcorners to make a crop rectangle smaller or bigger

Dev instructions

Run the application with the following command:

./gradlew run

briss-2.0's People

Contributors

mbaeuerle avatar raiju avatar obaqueiro avatar crvv avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.