Mobileread
PDF cropping software: BRISS
#301  willus 11-01-2014, 11:58 AM
Quote enda
Can Briss be put on Debian?
Briss is cross-platform and Java-based (see the first post in this thread), so yes, it can be run in Debian.
Reply 

#302  Psyny 12-19-2014, 12:13 PM
Hello,

I'm new to mobile reading. And i'm with an little issue.
I'm trying to convert old scanned files. The problem is: the scanned files have 2 collumns. Using BRISS i can mark areas and divide they, ok. But theres a way to replicate the areas i've marked to crop to every page? I mean... i need to redo the crop marking in each page?

Thanks!
Reply 

#303  adamslast 12-19-2014, 04:23 PM
Quote Psyny
Hello,

I'm new to mobile reading. And i'm with an little issue.
I'm trying to convert old scanned files. The problem is: the scanned files have 2 collumns. Using BRISS i can mark areas and divide they, ok. But theres a way to replicate the areas i've marked to crop to every page? I mean... i need to redo the crop marking in each page?

Thanks!
When you divide columnes two, first click right button and choose select rectangle, then click again and choose copy rectangle and past on other page. But before paste you must deselect existing rectangle on new page. So you can copy the same rectangles to other pages.
Reply 

#304  aplicatii.ro 01-21-2015, 09:06 PM
Hi,
While converting from pdf to epub/rtf, I would like to remove the headers/footers/page numbers.
I've tried 2 solutions:

A) BRISS: I've been trying to crop with briss and use the cropped pdf in calibre. Unfortunately does not make a difference - Calibre Convertion still has the page numbers, headers and footers.
B) CALIBRE page setup input profile: I tried to put the correct pts values (figured out using briss) in the calibre page setup input profile, also did not help.
I've searched on this forum, could not find something to clarify some special settings, etc. From what I understand only Adobe Pro or other paid sw can crop "properly".

Questions:
1) Am I doing something wrong in briss ?
2) Am I doing something wrong in Calibre or there are some additional settings I could not find?
3) If briss&calibre cannot do it, is there some other open/free solution?

Thanks in advance for any help/suggestion.
Reply 

#305  willus 01-23-2015, 01:09 AM
If you run the Briss PDF output through Ghostscript to generate a new PDF, I believe it will permanently get rid of the cropped-out material so that it won't come back in calibre. E.g.

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

(Thanks to Andrea Lazzarotto for the tip.)
Reply 

#306  cakemind 05-08-2015, 06:52 PM
I'm having an odd problem using Briss to split the pages of a scanned pdf.

Everything works as advertised and it produces a really nice looking single page continuous pdf. However, there are random pages just missing from the output pdf. Some of the pages are odd-numbered and some are even-numbered. There will be several in a row that show up and then one or two that are missing.

I have tried flattening and optimizing the file in Acrobat as much as possible before processing it with Briss, but the same pages are always missing. They are just regular old text pages exactly like the surrounding ones that do show up after processing.

Any ideas what is going on?
Reply 

#307  bookp 08-30-2015, 08:59 AM
Whenever I try to "Rectangle - Maximize to width", nothing happens.
Windows XP Pro 32 Bit (Virtual Machine), JRE 7 u79
Reply 

#308  pedronac 02-28-2016, 06:09 AM
Hello,
I need to crop several rectangles from a page.
I try to use the command line (so I do not need to do all the setup over GUI).
I used this command briss [-s SOURCE] [-d DESTINATION] [-c CROPARGS]

After several tries, the result is always the same ! Its very strange, It seams that some thing is setup at code level...

The commands tried :
1. ​java -jar briss-0.9.jar -s test.pdf -d split.pdf -c 0/0/0.5/0,0.5/0/0/0:0/0/0.5/0,0.5/0/0/0
2. java -jar briss-0.9.jar -s test.pdf -d split.pdf -c 0/0/5/0,5/0/0/0:0/0/5/0,5/0/0/0
3. java -jar briss-0.9.jar -s test.pdf -d split.pdf -c 1/2/3/4,1/2/3/4:1/2/3/4,1/2/3/4
4. java -jar briss-0.9.jar -s test.pdf -d split.pdf -c 0/0/0/0,0.5/0/0/0:0/0/0.5/0,0.5/0/0/0
5. java -jar briss-0.9.jar -s test.pdf -d split.pdf -c 0/0/0/0,0/0/0/0:0/0/0/0,0/0/0/0
6. java -jar briss-0.9.jar -s test.pdf -d split.pdf

Can someone help me, like explain the command and its variables "CROPARGS".

Thanks à lot.
Reply 

#309  pedronac 02-28-2016, 06:31 AM
here (http://www.gargan.org/downloads/briss65-commandline_crop.patch) I found:
"System.out.println("CROPARGS are in the format: part1_page1,part2_page1,...!part1_page2,part2_page 2 \n where each part consists of 4 numbers: top/left/bottom/right")"

Than, I tried :
"java -jar briss-0.9.jar -s test.pdf -d split.pdf -c 10/10/200/200:10/10/200/200"

I get the very same output.
Why it does not work the command line?
Reply 

#310  willus 02-29-2016, 10:06 PM
Quote pedronac
Hello,
I need to crop several rectangles from a page.
I try to use the command line (so I do not need to do all the setup over GUI)...
This can be done w/k2pdfopt as well. See the -mode and -cbox options in the command-line usage. Something like so:

Code
k2pdfopt -mode crop -cbox <cropdims1> -cbox <cropdims2> [...] sourcefile.pdf
example:

Code
k2pdfopt -mode crop -cbox 1in,1in,2in,3in -cbox 5in,4in,2.5in,3.5in myfile.pdf
This would take a 2x3 inch box, starting 1 inch from the left and 1 inch from the top, on each source page, and create a destination page out of it, followed by a 2.5x3.5 inch box, starting 5 inches from the left and 4 inches from the top of each source page. You can also specify a source page range for each crop box, e.g. -cbox2-10 <cropdims> would apply those crop dimensions to only source pages 2 through 10.
Reply 

 « First  « Prev Next »  Last »  (31/32)
Today's Posts | Search this Thread | Login | Register