Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Other formats > LRF

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 09-04-2009, 12:59 AM   #526
megacoupe
Connoisseur
megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.megacoupe shines like a glazed doughnut.
 
Posts: 80
Karma: 8682
Join Date: Aug 2007
Device: Kindle Voyage
You're just not looking hard enough.

A search for "pdflrfwin" on demonoid.com and thepiratebay.org will show you torrent results. In the comments sections of both places, you'll find a link to direct download if you don't know how to use torrents.

Heck, even a google search for "pdflrfwin" gives you both torrent and direct download link results on the first page! You won't find things if you don't look for them.
megacoupe is offline  
Old 09-04-2009, 03:29 AM   #527
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
demono..what?

Thanks for your tip. Had to be happy with the Windows version, the Linux one seems to have fallen down into the inkpot.

Well, the Windows version works on Linux with Wine and looks really pretty stable.

So I had a quick try with a 2.1 M pdf about Roman history in A4 format. A difficult one indeed with lots of photos and maps or genealogical trees. It was converted in some minutes into a 26.4 M lrf file. Calibre opened it successfully after a one minute loading time.

You read the lrf output in landscape mode. The texts parts are nearly legible. By this I mean that the font size is OK but the line is trimmed (you need to scroll left right about 1/8 to read it). It means the default settings have of course to be tweaked to suit your own book (if possible?).

For the maps and the photos, you get them and at least you have a decent idea what it's all about but no more.

For your information, here is a view of the main window with the book loaded, just to have an idea of what are the default setting values and a the screenshot of a page as seen with calibre with visualization mode (I turned it counterclockwise for you)

For a quick and not too dirty reading...can be tried.
Attached Thumbnails
Click image for larger version

Name:	pdflrfwin.png
Views:	1124
Size:	15.3 KB
ID:	35401   Click image for larger version

Name:	fromcalibre.png
Views:	1003
Size:	75.8 KB
ID:	35432  

Last edited by roger64; 09-04-2009 at 12:36 PM.
roger64 is offline  
Advert
Old 09-05-2009, 03:32 PM   #528
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:
Originally Posted by megacoupe View Post
You're just not looking hard enough.

A search for "pdflrfwin" on demonoid.com and thepiratebay.org will show you torrent results. In the comments sections of both places, you'll find a link to direct download if you don't know how to use torrents.

Heck, even a google search for "pdflrfwin" gives you both torrent and direct download link results on the first page! You won't find things if you don't look for them.
We were talking about the linux version. Believe me, I searched every torrent site I could find, and rapidshare search engines, etc., ... I just can't find it.

pdflrfwin is not the problem. I have that, and I use it through a virtual machine and it works fine... I'd just rather have the linux version.

I did notice that the windows version runs under Wine, but at least for me, is horribly slow -- so slow that I do better in a virtual machine. It's a lot of rigamarole, but often still worth it.
frabjous is offline  
Old 09-23-2009, 02:05 PM   #529
wamblej
Member
wamblej began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2009
Device: Kindle 2
pdflrf closes

I have used this program to convert files previously, but I have a file that for some reason at around 25% the program just closes. It doesn't give me an error, but it just closes. Is there any way of figuring out what is happening so I can resolve this? Thanks.

Update: I've figured it out. For some reason in the pdf there were a few pages that were different size (they were blank pages). When I removed those out of there it was able to complete processing of the file.

Last edited by wamblej; 09-24-2009 at 04:24 PM.
wamblej is offline  
Old 10-30-2009, 09:21 AM   #530
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
No, but you can use it to optimize your pdf files, rainbless. (You'd have to use calibre or similar to convert the LRF files, though, since Kindles don't read LRF files.)

You might try sopdf instead, which is PDF > PDF to avoid a step like that.

Last edited by frabjous; 10-30-2009 at 09:24 AM.
frabjous is offline  
Advert
Old 12-19-2009, 06:01 AM   #531
NSqirrel
Enthusiast
NSqirrel began at the beginning.
 
Posts: 43
Karma: 10
Join Date: Sep 2009
Location: South Bucks, UK
Device: PRS-600
Quote:
Originally Posted by duducar View Post
This is a really nice tool.
Quite agree. Just tried it and it is great. Quite and solves the problem of trimming the margins on my PRS-600 -the preview is really helpful.
NSqirrel is offline  
Old 01-02-2010, 07:03 PM   #532
mypolar
Enthusiast
mypolar began at the beginning.
 
mypolar's Avatar
 
Posts: 37
Karma: 10
Join Date: Aug 2009
Location: New York
Device: Sony 505 Yeah! Palm Tungesten E2
Quote:
Originally Posted by duducar View Post
This is a really nice tool.
I agree- Two thumbs up
mypolar is offline  
Old 01-15-2010, 01:12 PM   #533
ahseng77
Member
ahseng77 began at the beginning.
 
ahseng77's Avatar
 
Posts: 17
Karma: 10
Join Date: Nov 2007
Location: Indonesia
Device: se p990,505,mot355,nok1255
rastefarian is smaller and clearer
ahseng77 is offline  
Old 01-15-2010, 02:44 PM   #534
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:
Originally Posted by ahseng77 View Post
rastefarian is smaller and clearer
This has not been my experience, but to each their own.
frabjous is offline  
Old 01-24-2010, 12:58 AM   #535
rsasanka
Junior Member
rsasanka began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2010
Device: none
Thanks!

I am looking to convert the files to kindle format, thank you

Quote:
Originally Posted by cacapee View Post
Moderator's Note: I've taken down the attached programs because it appears to be in violation of GPL. They will go back up after the issue is resolved.

Nate the great



Hi, I've taken some of the ideas of existing tools along with a few refinements of my own to code this one up. I've attached a few sample conversions to get an idea of what the tool can do.

The refinements are --runpages (which causes adjacent pdf pages to be spliced into the same image if possible) and --smartcut (which avoids the annoying splits at the edge of the image) Another feature is that landscape mode (which is the default) rotates the image but doesn't actually use the Reader's landscape mode.

f_l.lrf outputs the page that can be viewed by rotating the reader (-rs)
f_p.lrf outputs the page in portrait mode (-prs)
f_po.lrf outputs the page without runpages and smartcut (-p)
g_2col.lrf sample of two column mode (-vrs)
comicl.pdf comicp.pdf strips in landscape and portrait mode (uses --nosplitpage -rs)

The pdf files tested are linked here

http://cm.bell-labs.com/cm/ms/what/s...hannon1948.pdf
http://www.comp.nus.edu.sg/~tants/tsm/tsm.pdf

Code:
pdflrf 0.99

A program to generate lrf files for the Sony Reader
Needs Ghostscript to be installed unless you are using poppler

Usage: For 2 column portrait mode
        pdflrf.exe -vrs -i file.pdf -o file.lrf
   For landscape mode
        pdflrf.exe --rotation=-90 -rs -i file.djvu -o file.lrf
   For comics
        pdflrf.exe -nrs --erode 1 -i file.cbz -o file.lrf


  -h, --help                  Print help and exit
  -V, --version               Print version and exit
  -i, --input=STRING          Input file (PDF, DJVU, CBZ)
  -o, --output=STRING         Output file
  -f, --firstpage=INT         First page to process  (default=`1')
  -l, --lastpage=INT          Last page to process  (default=`-1')
      --ghostscript           Use ghostscript (instead of poppler by default)
                                to read pdf files  (default=off)

LRF file metadata
  -t, --title=STRING          Title
  -a, --author=STRING         Author
      --category=STRING       Category
      --publisher=STRING      Publisher

LRF file generation properties
      --fit=STRING            Scale image  (possible values="width",
                                "height", "2xheight" default=`width')
      --rotation=STRING       Rotation  (possible values="-90", "0",
                                "90", "180" default=`-90')
      --filter=STRING         Resizing filter  (possible values="lanczos",
                                "quadratic", "cubic", "catrom",
                                "mitchell", "sinc", "bessel"
                                default=`lanczos')
      --stretch               Stretch image to fit screen  (default=off)
  -v, --vsplit                Vertically split the page  (default=off)
  -r, --runpages              Run pages together  (default=off)
      --pad=INT               Pad (in pixels) to add when concatenating pages
                                (default=`3')
  -s, --smartcut              Cut pages at blank lines  (default=off)
  -n, --nosplitpage           Do not split pages across images  (default=off)
      --notoc                 Do not add TOC  (default=off)

Image processing
      --erode=INT             Size of erosion kernel (2 works well too)
                                (default=`3')
      --overlap=FLOAT         Overlap % between successive pages
                                (default=`0.05')
  -c, --colors=INT            Number of colors in final image  (default=`4')
      --grayscale             Convert image to grayscale  (default=on)
      --nocrop                Do not crop the sides automatically
                                (default=off)
      --outputimages          Write generated images out  (default=off)
      --width=INT             Width of final image  (default=`584')
      --height=INT            Height of final image  (default=`754')

The following options are run before any of the above processing is done
      --trimleft=FLOAT        Trim width*trimleft/100 pixels from the left for
                                all pages  (default=`0')
      --trimright=FLOAT       Trim width*trimright/100 pixels from the right
                                for all pages  (default=`0')
      --trimtop=FLOAT         Trim height*trimtop/100 pixels from the top for
                                all pages  (default=`0')
      --trimbottom=FLOAT      Trim height*trimbottom/100 pixels from the bottom
                                for all pages  (default=`0')
      --eventrimleft=FLOAT    Trim width*trimleft/100 pixels from the left for
                                even pages  (default=`0')
      --eventrimright=FLOAT   Trim width*trimright/100 pixels from the right
                                for even pages  (default=`0')
      --eventrimtop=FLOAT     Trim height*trimtop/100 pixels from the top for
                                even pages  (default=`0')
      --eventrimbottom=FLOAT  Trim height*trimbottom/100 pixels from the bottom
                                for even pages  (default=`0')
      --oddtrimleft=FLOAT     Trim width*trimleft/100 pixels from the left for
                                odd pages  (default=`0')
      --oddtrimright=FLOAT    Trim width*trimright/100 pixels from the right
                                for odd pages  (default=`0')
      --oddtrimtop=FLOAT      Trim height*trimtop/100 pixels from the top for
                                odd pages  (default=`0')
      --oddtrimbottom=FLOAT   Trim height*trimbottom/100 pixels from the bottom
                                for odd pages  (default=`0')
      --fuzz=FLOAT            Fuzz factor % for matching colors
                                (default=`0.01')
version 0.2 now reads in cbz and djvu files. It also reads pdf files using poppler - so you do not need to install ghostscript.

version 0.3 has a windows gui. --portrait has been removed and replaced by --rotation. Default is portrait now. Also metadata from pdf files are automatically read

version 0.4 adds drag/drop and batch processing (drag mutiple files over) + other small refinements (not specifying smartcut/runpages/splitpage scales a page to fit in an image)

version 0.5 has support for pre-trimming off the input pages. These are specifed in terms of % of the page from the left/right/top/bottom that you want to trim away. They can also be specified independently for even/odd pages. Also unicode metadata is now supported.

version 0.6 adds support for unicode filenames (previously only unicode metadata was supported), cbr/rar files, better error reporting and assorted bug fixes.

version 0.7 adds preview of pre trimming, catrom filter for resizing images, png files are now generated for embedding in lrf files. Converted over to using threads - so batching is a lot more improved.

version 0.8 adds support for Table of Contents in pdf files. It is possible to preview output images to test out various settings. An experimental linux build (built on Ubuntu) has been added. Improved threading support so processing should be faster. Changed default colors to 4 to reduce frequency of file size questions. Added more filtering options and better dithering so images should look a lot better.
Fixed threading bug that causes it to hang occasionally under linux. Fixed TOC. Erosion now works sensibly with small images (like those of comic strips). Can also go down to 2 colors.

version 0.9 Added padding (in pixels) when using runpages. Fixed crash bug when generating toc. Added back ghostscript support. Added option to disable generation of TOC.

version 0.99 Fixed Librie compatibility (maybe). Adjustable image size on output. Output zip files (if extension is cbz or zip). Added RGB output. Added post stretch of image to fit page. Added options to fit image by height/width/2*height etc. Sort files in rar and zip.

Fixed bug in dos and linux commandline versions that ignored toc. Fixed metadata bug.

I've broken out the dos commandline, windows gui and linux commandline versions into separate files to better track usage.
rsasanka is offline  
Old 01-28-2010, 05:22 PM   #536
poketix
Junior Member
poketix began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2010
Device: PRS 505
A newbie question: how to download?

Sorry for this stupid question, but I can't find a link to download the converter. On the first pages everything appears as a picture or text but not a valid URL link. What am I doing wrong?

Added 5 minutes later:
Ok, I missed the point:
Quote:
Moderator's Note: I've taken down the attached programs because it appears to be in violation of GPL. They will go back up after the issue is resolved.

Last edited by poketix; 01-28-2010 at 05:32 PM. Reason: Found the answer by myself.
poketix is offline  
Old 01-28-2010, 05:52 PM   #537
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
If you read through the last few pages of the thread, you'll find ways of acquiring it, however. (At least if you want the windows version; if you want the linux version, like me, alas you may be out of luck.)
frabjous is offline  
Old 02-27-2010, 05:17 PM   #538
nerys
Addict
nerys began at the beginning.
 
nerys's Avatar
 
Posts: 243
Karma: 48
Join Date: Dec 2006
Device: PRS 500 - REB 1200
I am confused. What is the issue here? the software is free using GPL stuff.

SO what is the problem with simply COMPLYING with the GPL requirements? just release the source? is the creator gone or something so no one HAS the source?

IE why can it not be PUT into COMPLIANCE ?
nerys is offline  
Old 02-27-2010, 10:47 PM   #539
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
The author has not released the source. He does occasionally stop by here, but hasn't explained the noncompliance.
frabjous is offline  
Old 02-27-2010, 10:54 PM   #540
cacapee
Connoisseur
cacapee is no ebook tyro.cacapee is no ebook tyro.cacapee is no ebook tyro.cacapee is no ebook tyro.cacapee is no ebook tyro.cacapee is no ebook tyro.cacapee is no ebook tyro.cacapee is no ebook tyro.cacapee is no ebook tyro.cacapee is no ebook tyro.
 
Posts: 77
Karma: 1393
Join Date: Aug 2007
Location: Santa Monica
Device: prs-500
Strictly speaking, I'm in compliance as I'm not distributing the tool anymore.

Cheers
cacapee is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
soPdf - Better than Yet another PDF to LRF converter theguru PDF 197 11-20-2012 04:54 PM
comiclrf - Comics(CBZ) to LRF converter FangornUK LRF 274 06-16-2010 02:24 PM
Book Processor - Anything to LRF and HTML converter LittleDragon Sony Reader 11 05-13-2008 04:31 PM
Quick/easy LIT to LRF converter? OUTATIME Sony Reader Dev Corner 10 02-29-2008 09:44 AM
Anyone else want chm to lrf converter? buster Sony Reader 10 02-09-2008 05:07 PM


All times are GMT -4. The time now is 06:19 PM.


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