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-25-2007, 12:21 PM   #196
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
Quote:
Originally Posted by cszhy View Post
It's in Chinese , thanks
That file doesn't work in ghostscript by itself. Can you help me figure out why?
The problem looks not to be in pdflrf.
cacapee is offline  
Old 09-25-2007, 07:49 PM   #197
cszhy
Member
cszhy began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Aug 2007
Device: sony reader
the previous version of pdflrf before 0.6(I forgot which one)can do that pretty well, but I already delete it when the new version came,so would you mind upload it again? I think that will save your time, thanks

Last edited by cszhy; 09-25-2007 at 07:54 PM.
cszhy is offline  
Advert
Old 09-28-2007, 03:29 PM   #198
Fallen angel
Time Vortex Manipulator
Fallen angel began at the beginning.
 
Fallen angel's Avatar
 
Posts: 30
Karma: 10
Join Date: Aug 2007
Location: Greece
Device: Sony Reader
I'm sorry, I don't know if that would be easy to do, but it would be really great if .chm support could be also added. Also, it would be useful (but not absolutely necessary), if we could convert multiple files per time.
Fallen angel is offline  
Old 09-29-2007, 04:00 AM   #199
ashkulz
Addict
ashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enoughashkulz will become famous soon enough
 
ashkulz's Avatar
 
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
Quote:
Originally Posted by Fallen angel View Post
I'm sorry, I don't know if that would be easy to do, but it would be really great if .chm support could be also added.
You can easily extract CHM to HTML and then use libprs500 to convert from HTML to LRF. I'm sure if you request chm support from Kovid (author of libprs500) he'll be willing to add support for it
ashkulz is offline  
Old 09-29-2007, 05:54 AM   #200
Bob Russell
Recovering Gadget Addict
Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.
 
Bob Russell's Avatar
 
Posts: 5,381
Karma: 676161
Join Date: May 2004
Location: Pittsburgh, PA
Device: iPad
I was thinking the same thing - chm support would be wonderful.
And that's right... David's program certainly seems the right place for it.
Bob Russell is offline  
Advert
Old 09-29-2007, 11:46 AM   #201
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
libprs500 is the better place to have chm support. Also you can batch by dragging multiple files over to the pdflrfwin window.
cacapee is offline  
Old 09-29-2007, 05:06 PM   #202
ereszet
Zealot
ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.
 
ereszet's Avatar
 
Posts: 118
Karma: 306
Join Date: Sep 2007
Device: Sony PRS-500 Archos 704 wifi
the ideas of existing tools

Quote:
Originally Posted by cacapee View Post
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.
Cacapee, can you disclose what GNU/Open Source libraries/modules do you use for fattening the fonts?
I convert all my small print documents to images that can be zoomed (for some of my documents pdf or djvu display is not big enough even with your pdflrf conversion). While I wait patiently for your pdflrf release with png export, I would be quite happy in the meantime to try my hand with direct processing of my images to fatten the print. I can do it now with ClearImage demo, using some tricks to do it in batch, but your processing is blindingly fast (taking into account a number of processing steps that pdflrf includes).

Nothing can substitute your refinements but for the time being, I need something to help me read small print without wasting my time with programs less efficient than yours.
ereszet is offline  
Old 09-29-2007, 09:13 PM   #203
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
I use CImage to do the erosion (which is fattening the lines). This is the most time consuming part of the entire process by far. I think paint.net and even gimp has this filter.
The key is to achieve a balance between the original image size, the final image size and the erosion factor. Are you finding that it is not thick enough? Can you pm me an example.
cacapee is offline  
Old 09-30-2007, 12:50 AM   #204
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
This version adds lots of improvements to comic strip output.

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.
cacapee is offline  
Old 09-30-2007, 04:43 AM   #205
bookworm
Junior Member
bookworm began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2007
Device: ereader
Thumbs up Excellent work Cacapee! Thanks a lot!

The 0.99 version is really excellent. I always log in to mobile read forums to see what developments you made on PDFLRF. Thanks a ton. This version gives excellent flexibility
bookworm is offline  
Old 09-30-2007, 08:21 AM   #206
godel10
Connoisseur
godel10 doesn't littergodel10 doesn't littergodel10 doesn't litter
 
Posts: 80
Karma: 204
Join Date: Jun 2007
Device: Sony Librie, Irex DR1000S
It has improved but there is still no Librie compatibility

Quote:
Originally Posted by cacapee View Post
This version adds lots of improvements to comic strip output.

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.
Thank You. Your efforts about Librie compatibility are much appreciated. But unfortunately it is still not working.

In version 0.9 when I was trying to use editlrfmeta with an lrf file generated with pdflrf all what I was getting was an error. In version 0.99 what I get is something like

title:
author:
bookid: PDFLRF046ff8d14
publisher:
description:
date: 2007-09-30
error displaying meta information: unexpected end of file. Current depth is 3 Line 17, position 14.

That is, first of all we can see the metadata, but later we get the error. What it is surprising is that we always (it does not matter what lrf file you generate) get the same error talking about depth 3, Line 17 and position 14.
godel10 is offline  
Old 09-30-2007, 08:59 AM   #207
ereszet
Zealot
ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.
 
ereszet's Avatar
 
Posts: 118
Karma: 306
Join Date: Sep 2007
Device: Sony PRS-500 Archos 704 wifi
Quote:
Originally Posted by cacapee View Post
I use CImage to do the erosion (which is fattening the lines). This is the most time consuming part of the entire process by far. I think paint.net and even gimp has this filter.
The key is to achieve a balance between the original image size, the final image size and the erosion factor. Are you finding that it is not thick enough? Can you pm me an example.
I would think that image extraction is the most consuming part of the process but you know it better. The fattening is ok in lrf but you cannot increase the size of small fonts display beyond what the Sony landscape mode allows. That is why I asked for png output, that allows panning the display view. You have done it in version 0.99 in a marvelous way. See my next post with image examples.
ereszet is offline  
Old 09-30-2007, 09:10 AM   #208
ereszet
Zealot
ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.
 
ereszet's Avatar
 
Posts: 118
Karma: 306
Join Date: Sep 2007
Device: Sony PRS-500 Archos 704 wifi
Attention Sony Reader and Archos developers. Cacapee has made your devices usable.

Quote:
Originally Posted by cacapee View Post
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.

I do not exaggerate in my post title. In version 0.99 pdflrf can output zipped png images of any size and they can be refined to be viewed with probably any portable readers (not just Sony or Archos).

For the Sony Reader it means that in can display small print and even city maps.

For the Archos it means that it becomes a reader. Pdf reading in Archos is almost useless for the long time it takes to load or zoom every page. Pdf converted to png images can be resized and displayed immediately from its folder page by page.

BTW. Cacapee, if the Archos people buy an adopted pdflrf from you (which they should do right now) do not allow them to ask for a buyers' telephone number and e-mail address before selling it (they do it with their plug-ins, which means that my Archos stays crippled because I cherish my privacy).


The images in "quick fox" photo are from left to right:
1. the original color pdf
2. lrf by pdflrf
3. like image 2 but splitted in two for maximum size
4. png output from pdflrf (can be panned)

The images in "city map" photo are from left to right:
1. lrf by pdflrf splitted in two for maximum size
2. png output from pdflrf
3 and 4. panned image 2

The images in "archos city map" photo are from left to right:
1. pdf zoomed to maximum view (takes 2 minutes to prepare the image and another two minutes to zoom)
2. double size png output from pdflrf zoomed to maximum view (loads and zooms almost immediately, can be panned)
Attached Thumbnails
Click image for larger version

Name:	quick fox zip50.jpg
Views:	571
Size:	155.3 KB
ID:	5947   Click image for larger version

Name:	city map zip50.jpg
Views:	579
Size:	188.6 KB
ID:	5948   Click image for larger version

Name:	archos city map zip50.jpg
Views:	532
Size:	135.6 KB
ID:	5949  

Last edited by ereszet; 09-30-2007 at 12:00 PM.
ereszet is offline  
Old 09-30-2007, 11:27 AM   #209
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
godel10 - editlrfmetadata works for me in both .9 and .99 Can you pm me a pdf file which has that problem.
cszhy - Similarly regarding ghostscript support in 0.5, I get the same error.
Someone complained about TOC support. Again I can't reproduce the problem. Please pm me the file that shows the problem.
cacapee is offline  
Old 09-30-2007, 12:09 PM   #210
ereszet
Zealot
ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.ereszet has a complete set of Star Wars action figures.
 
ereszet's Avatar
 
Posts: 118
Karma: 306
Join Date: Sep 2007
Device: Sony PRS-500 Archos 704 wifi
png input

Cacapee, would asking for png input be too much?

You see, I photoscan the books/documents with my camera in an image format, so the convertion to pdf/djvu is a step that could be skipped when I need to process them through pdflrf.
ereszet 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 11:25 AM.


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