Skip to content

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

License

Notifications You must be signed in to change notification settings

raydac/Briss-2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Build instructions

  • To build the project you need two additional libraries, put them in the "lib" sub directory:
  • itext from http://itextpdf.com/ (current version is itextpdf-5.5.4.jar)
  • jpedal from http://www.jpedal.org/. jpedal was updated to javaFX. This version no longer works with Swing. Get a working jar from the Briss 0.9 release (jpedal-4.74b27.jar)

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:

java -jar briss-0.9.jar

or

java -jar briss-0.9.jar 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!):

java -jar briss-0.9.jar -s [SOURCEFILE] [-d [DESTINATIONFILE]]

Example:

java -jar briss-0.9.jar -s dogeatdog.pdf -d dogcrop.pdf
java -jar briss-0.9.jar -s dogeatdog.pdf 

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

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

Problems

  • If you want to crop really big files it might be necessary to start briss with an additional parameter: "-Xms128m -Xmx1024m" (complete call would look like: "java -Xms128m -Xmx1024m -jar briss-0.9.jar")

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.8%
  • HTML 1.2%
  • Other 1.0%