Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 05-09-2010, 02:01 PM   #1
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
Post PDF cropping software: BRISS

Hi!

I own a Cybook since two years and was bugged that there is no easy-to-use open-source software for cropping pdf files so the last couple of days I hacked something which might be usefull for other ebook users. Since its written in Java should run under Linux/Windows/MacOSX.

You can download the application from sourceforge:
http://sourceforge.net/projects/briss/

So if you want to make the best out of your 6 inch try BRISS ;-)

If the name offends your religious feelings I sure can think of a better one.

Waiting for feedback,
laborg

Last edited by laborg; 05-09-2010 at 02:04 PM. Reason: Added operation system info
laborg is offline   Reply With Quote
Old 05-09-2010, 02:16 PM   #2
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
X-platform multi-colum pdf cropper: BRISS

Hi!

I own a Cybook since two years and was bugged that there is no easy-to-use open-source software for cropping pdf files so the last couple of days I hacked something which might be usefull for other ebook users. Since its written in Java runs under Linux/Windows/MacOSX.

You can download the application from sourceforge:
http://sourceforge.net/projects/briss/

So if you want to make the best out of your 6 inch try BRISS ;-)

If the name offends your religious feelings I sure can think of a better one.

Waiting for feedback,
laborg

Btw.: Sorry for crossposting into NEWS forum. I think this post is better suited here.

Last edited by laborg; 05-16-2010 at 09:36 AM.
laborg is offline   Reply With Quote
Advert
Old 05-09-2010, 02:35 PM   #3
Guns4Hire
Reading...Since 1970
Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.
 
Guns4Hire's Avatar
 
Posts: 610
Karma: 7819
Join Date: Jan 2010
Device: Nova Air C, Nova Pro, LifebookMars, BoyueT62+ Glowlight, NST, PB360
I'll give it a try. I don't do PDF very often unless I absolutely have to. We will see how this works for the handful that I have.
Guns4Hire is offline   Reply With Quote
Old 05-10-2010, 05:15 PM   #4
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Quote:
So if you want to make the best out of your 6 inch try BRISS ;-)
GROAN!

I'll give this a try. Not sure it offers anything not already offered by soPDF and some others, but I like that it's cross-platform, etc.
frabjous is offline   Reply With Quote
Old 05-10-2010, 05:55 PM   #5
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
Update

New version available! (0.0.2)

From the Changelog:
* Performance improvements
* Resolved Bugs:
#2999011 - Handling of rotated PDFs is implemented
#2999012 - Cropped rectangle is now limited to the preview image size

Have much fun!
Gerhard
laborg is offline   Reply With Quote
Advert
Old 05-11-2010, 03:24 AM   #6
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
In the build from last night there was a major bug, which prevented the tool from working like it should. This was fixed in release 0.0.3.

Sorry for the inconvenience,
Gerhard
laborg is offline   Reply With Quote
Old 05-11-2010, 11:34 AM   #7
ab7vf
Enthusiast
ab7vf has a complete set of Star Wars action figures.ab7vf has a complete set of Star Wars action figures.ab7vf has a complete set of Star Wars action figures.
 
Posts: 41
Karma: 296
Join Date: Sep 2009
Location: Pacific Northwest
Device: dxg and newfound Icarus 8
briss-0.0.3

Just a note, briss-0.0.3 fails when creating cluster 1 on loading pdf ..
hope dump below will help, Jim





Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at at.laborg.briss.MergedPanel.<init>(MergedPanel.jav a:50)
at at.laborg.briss.Briss$ClusterPagesTask.done(Briss. java:399)
at javax.swing.SwingWorker$5.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnab le.run(Unknown Source)
ab7vf is offline   Reply With Quote
Old 05-11-2010, 02:31 PM   #8
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
Hi!

There's a new release (0.0.4)

Could you try it with the new version? I replaced the preview rendering engine with JPedal and therefore it should be more robust.

Greetings,
Gerhard
laborg is offline   Reply With Quote
Old 05-11-2010, 03:26 PM   #9
ab7vf
Enthusiast
ab7vf has a complete set of Star Wars action figures.ab7vf has a complete set of Star Wars action figures.ab7vf has a complete set of Star Wars action figures.
 
Posts: 41
Karma: 296
Join Date: Sep 2009
Location: Pacific Northwest
Device: dxg and newfound Icarus 8
briss-0.0.4

well, it still errors out at the same place as .3 and .2 .... 0.0.1 still works

nice program (0.0.1) though, it would be nice to be able to crop 2 column pdfs ... Thanks for your efforts so far though

Jim
ab7vf is offline   Reply With Quote
Old 05-11-2010, 04:43 PM   #10
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
Mhm... I found the bug but it will take me some time to create a fix... Thx for reporting!
laborg is offline   Reply With Quote
Old 05-11-2010, 07:30 PM   #11
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
Suprise! Another release (0.0.5)

No new functionality but got rid of two bugs.

Good night,
Gerhard
laborg is offline   Reply With Quote
Old 05-12-2010, 03:19 AM   #12
ab7vf
Enthusiast
ab7vf has a complete set of Star Wars action figures.ab7vf has a complete set of Star Wars action figures.ab7vf has a complete set of Star Wars action figures.
 
Posts: 41
Karma: 296
Join Date: Sep 2009
Location: Pacific Northwest
Device: dxg and newfound Icarus 8
OK! Its working again .. ran about 20 conversions through it and no hiccups whatsoever..
Thanks for your effort on this, Jim
ab7vf is offline   Reply With Quote
Old 05-12-2010, 07:51 PM   #13
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
Hi all!

With release 0.0.6 you can now crop various regions of a page (=>multi colum support). The result will include a new page for every selected region. Since it's not a image based approach the resulting PDFs file size doesn't increase even if the cropped version has many more pages).

Good night,
Gerhard

laborg is offline   Reply With Quote
Old 05-12-2010, 09:49 PM   #14
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Fun little tool you've got here. Thanks a lot.

I have two feature requests.

Firstly, the tool strips the metadata from the PDF. (Subject, author, title, etc.) Is there any way it could be preserved? (Or even an option offered to add it if it's not there already?)

Secondly--although admittedly this might be very hard to implement--could there be an option to force all pages to be the same size? Suppose, e.g., you're cropping a two column PDF. Unless you've got steady hands, probably the boxes you select won't be precisely the same, which might result in a slight zoom-level variation on devices that zoom each page to fit the device, which could be distracting. You could, e.g., force all pages into the size of the largest selection.

A less alternative to this might be to show the dimensions of each selection box while you were selecting the region, so you could manually ensure that they were the same.

But this is a great tool, and I'm happy to have it, even without these features.
frabjous is offline   Reply With Quote
Old 05-13-2010, 04:18 AM   #15
laborg
Zealot
laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.laborg has top level security clearance to Area 51.
 
Posts: 105
Karma: 94000
Join Date: Oct 2007
Location: Vienna
Device: Cybook Gen3
Quote:
Originally Posted by frabjous View Post
Firstly, the tool strips the metadata from the PDF. (Subject, author, title, etc.) Is there any way it could be preserved? (Or even an option offered to add it if it's not there already?)

Secondly--although admittedly this might be very hard to implement--could there be an option to force all pages to be the same size? Suppose, e.g., you're cropping a two column PDF. Unless you've got steady hands, probably the boxes you select won't be precisely the same, which might result in a slight zoom-level variation on devices that zoom each page to fit the device, which could be distracting. You could, e.g., force all pages into the size of the largest selection.
I wasn't aware of the fact that it cuts away the metadata - i will have to look at that.
The second feature is actually one I've already implemented in an earlier version but dropped it. I will try to solve it for 0.0.7.

greetings,
Gerhard
laborg is offline   Reply With Quote
Reply

Tags
cropping pdf, pdf


Forum Jump

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


All times are GMT -4. The time now is 08:23 AM.


MobileRead.com is a privately owned, operated and funded community.