10-31-2010, 03:09 PM | #166 |
Zealot
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
|
Hi All!
@theduder: You're right, this is kind of a bug. This can happen due to different even and odd page sizes (in your example it looks like you have a scanned document which is likely to have variable height/width). The resulting cropped pdf will only have the same height/width if you can assure that the original width/height of different pages in a document are equal. @seol1500: This are some interressting thoughts but the big problem I see here is that analysing a pdf like you proposed isn't really possible - finding objects outside a specified region would require some serious image analysis... Nevertheless I want to tackle the image analysis part, because I will need it for automatic determination of crop rectangles (december at the earliest). btw.: donation is possible @flyash: Nice idea, I added a feature request on sourceforge. I'll hope to be able to add a few new features in december, best regards, Laborg |
11-05-2010, 11:07 PM | #167 |
Junior Member
Posts: 1
Karma: 10
Join Date: Nov 2010
Device: none
|
This tool is excellent but I would love a command line option to add crop boxes
For example: To crop two boxes from in.pdf and save as out.pdf: Box 1: 50x100 points with the top left point at 55x 100y and the bottom right point at 105x 200y Box 2: 280x100 points with the top left point at 120x 200y and the bottom right point at 400x 300y Example usage: briss-0.0.10.jar [[source.pdf] [destination] [coordinates] [coordinates] [coordinates] ...] java -jar briss-0.0.10.jar in.pdf out.pdf 55:100x105:200 120:200x400:300 This would provide both automation and precision to the act of cropping PDFs I'm sure you've got lots of things to do but please consider adding this functionality. |
Advert | |
|
11-05-2010, 11:14 PM | #168 | |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Quote:
|
|
11-30-2010, 01:47 AM | #169 |
Junior Member
Posts: 4
Karma: 10
Join Date: Sep 2010
Device: Kindle 3
|
jpg2000 support
Any progress on supporting PDFs with jpeg2000 images? Or is there a workaround to convert those PDFs to make them readable? I love briss but am completely stuck with these jpeg2000 PDFs. Many thanks for the great software!
|
12-01-2010, 02:27 AM | #170 |
Zealot
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
|
The Problem is that the JAI.jar (1.1.4) isn't developed and downloadable anymore. Basically I think with JAI.jar it would work very easily...
|
Advert | |
|
12-11-2010, 12:38 AM | #171 |
Member
Posts: 16
Karma: 548
Join Date: Dec 2010
Device: Sony PRS-350
|
hi I am getting an exception after my PDF got analysed while creating cluster:1
here is the error message: C:\Download Data\briss-0.0.11>java -jar briss-0.0.11.jar Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at at.laborg.briss.PDFPageCluster.getPreviewImage(PDF PageCluster.java:13 2) at at.laborg.briss.MergedPanel.<init>(MergedPanel.jav a:64) at at.laborg.briss.Briss$ClusterPagesTask.done(Briss. java:566) at javax.swing.SwingWorker$5.run(Unknown Source) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnab le.run(Unknown Sour ce) at sun.swing.AccumulativeRunnable.run(Unknown Source) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnab le.actionPerformed( Unknown Source) at javax.swing.Timer.fireActionPerformed(Unknown Source) at javax.swing.Timer$DoPostEvent.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) My pdf file is around 50MB, I think I can extract a few pages and chop them, but then all the bookmarks would be lost, is the size a problem there? Edit: Actually, I got it solved by increasing the memory allocation for java VM Last edited by serige; 12-11-2010 at 01:04 AM. |
12-11-2010, 05:29 AM | #172 |
Zealot
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
|
@ sergie: Wasn't aware that such monster pdfs need more memory than default.
Thx, will include this into the readme... laborg |
01-01-2011, 04:35 PM | #173 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Does anybody know why Briss would chop off sections of some pages and not others? When I import a regular pdf file (all the page sizes/formats are the same) I end up getting something like this:
|
01-05-2011, 10:55 PM | #174 |
Addict
Posts: 254
Karma: 834
Join Date: Oct 2010
Location: Sacramento, CA
Device: Samsung Galaxy s3 (Android 4.4.2), iPad 2, Win10 laptop
|
What I'm hoping to do is take some two-column PDF e-books I have and reformat them so that Calibre can convert to ePub and get decent results (I'm not a perfectionist, all I ask is readability).
Suggestions for doing this? |
01-05-2011, 11:44 PM | #175 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Unfortunately, I don't think BRISS with work for that. BRISS just sets the visible bounding box; it doesn't remove the remainder of the page. So Calibre will still find the "hidden" part of the page, and if you split the columns, you'll just be duplicating everything.
|
01-06-2011, 06:41 PM | #176 | |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
=X= |
|
01-07-2011, 05:16 AM | #177 |
Zealot
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
|
|
01-09-2011, 11:22 PM | #178 |
Junior Member
Posts: 5
Karma: 116
Join Date: Jan 2011
Device: nook
|
I just purchased the complete Star Trek comic book collection. I wanted to crop it and put it on my nook, and your program seems the way to go!
Unfortunately, it doesn't seem to work for these files because they're secured pdfs. DRM always screwing me up, grumble grumble.... Is there a way that I can get Briss to do its thing anyway? As is, it produces a blank pdf file after I enter the output filename. I mean, I could cheat and just print the file and send it to a "pdf printer", but that's such a hassle. Last edited by hort_wort; 01-10-2011 at 09:21 AM. Reason: misspell |
01-10-2011, 12:23 AM | #179 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
|
01-10-2011, 09:19 AM | #180 |
Junior Member
Posts: 5
Karma: 116
Join Date: Jan 2011
Device: nook
|
Well, I tried printing it on bullzip pdf and it got stuck. This collection contains hundreds of comics, every time I need to take an extra 2 minutes for another step, it adds up fast.
pdflrf managed to do it's stuff okay, but then I'd have to convert from lrf to epub. Processing time per file that way was ~10 minutes and the file size ended up being 8x what it had to be. I'm not pointing it out to be a jerk, I was thinking that a program designed to work with these files should be able to work with these files. |
Tags |
cropping pdf, pdf |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cropping .pdfs with Briss and converting with Calibre | mrslecavalier | Amazon Kindle | 6 | 07-13-2010 07:53 PM |
PDF to EPUP conversion after page cropping | Naismith | Calibre | 6 | 03-09-2010 08:37 AM |
cropping pdf with preview | wang960 | Sony Reader | 2 | 05-05-2009 09:28 AM |
Yet another PDF cropping tool | sjvr767 | iRex | 7 | 02-14-2009 07:04 AM |
Nice Mac OS X .pdf Cropping Tool | jmdor | Sony Reader | 0 | 04-04-2007 10:41 PM |