Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 04-14-2009, 11:15 PM   #241
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by jd1123 View Post
Having an odd problem with the latest version:

When converting some PDFs, instead of making a prc file, it opens the temp directory where all the pngs are stored. This happens rather randomly, but is frustrating for long ebooks. Is this a known problem? Thanks.
The opening of the temp directory most definitely signifies that the ebook creation failed somehow. PDFRead does that, by design!

Can you load the resulting .opf into Mobipocket Creator and complete the conversion there?

Can you view the resulting .html in a browser to see if it looks ok?

Perhaps a system restart might fix it. Perhaps not.
nrapallo is offline   Reply With Quote
Old 04-23-2009, 03:41 PM   #242
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by nrapallo View Post
I (Nick Rapallo) have been hacking PDFRead v1.7 since fall 2007 (prior to my join date here) and became a developer along with Ashish Kulkarni.
For the history buffs (and anniversary celebrants):

My initial exposure to PDFRead was an April 2007 announcement made by Ashish in the REB1200 Yahoo group.

Below is my first post on those modifications that would eventually find themselves into PDFRead v1.8.2. See the attached image for a screenshot of that post (or the text form here):
Code:
Message #4639 of 5148
Thu Apr 26, 2007 4:47 pm
------------------------------
"nrapallo" <nrapallo@yahoo.ca> 
nrapallo 


reading PDFs on the REB1200    

Re: reading PDFs on the REB1200 

Ashish:

My compliments in providing a way to expand the number of ebooks
accessible by our legacy device, namely the REB 1200.

I noticed that the resulting .imp files are grayscale for the
REB1200. I realize that to keep file size to a minimum, grayscale
is the way to go. But since the REB1200 is capable of 15-bit color,
could you provide an option to convert to color .png files using 'n'
colors where 'n' is at least 16 and at most 32768 (default could be
256).

I know that the resulting files will be HUGE, but that could be for
the user to contend with. Possibly choosing 'n' to be a lower
figure could reduce the files size significantly. The user can
experiment and settle on the most acceptable trade-off.

I surmise that you may have also chosen to work with grayscale .png
files as most current ebook readers, that your software is intended
for, are non-color devices, however, displaying color (from well-
formatted .pdf files) is what the REB1200 is suited to!

Just a suggestion...

Regards,
-Nick

--- In REB1200@yahoogroups.com, "Ashish Kulkarni" <dustinefog@...>
wrote:
>
> Hello,
>
> I've released a new version of this tool (PDFRead 1.6). It adds lots
> of new features and fixes some problems encountered while creating the
> IMP using eBook publisher. Please see this page for details:
>
> http://pdfread.sourceforge.net/#changes
>
> Regards
> ashish
Two years and counting...
Attached Thumbnails
Click image for larger version

Name:	PDFRead-first exchange with Ashish.jpg
Views:	240
Size:	90.2 KB
ID:	27977  
nrapallo is offline   Reply With Quote
 
Enthusiast
Old 04-23-2009, 07:02 PM   #243
frikk
Amateur PRS505'er
frikk began at the beginning.
 
frikk's Avatar
 
Posts: 22
Karma: 10
Join Date: Apr 2009
Location: Cincinnati
Device: sony rs-505
Hey guys.

Does PDFRead support splitting? I have some large text books where I imagine splitting the books up by chapter into separate files may be a good idea (slow read times). Is there any kind of functionality like this, or would it rely on a third party tool?
frikk is offline   Reply With Quote
Old 04-23-2009, 07:14 PM   #244
frikk
Amateur PRS505'er
frikk began at the beginning.
 
frikk's Avatar
 
Posts: 22
Karma: 10
Join Date: Apr 2009
Location: Cincinnati
Device: sony rs-505
Hello. PDFRead rocks! Thanks guys!

I do have a bug report. Is here the appropriate place to put it? I have found that on my PDFs that have an incomplete last page, pdfread ends up stretching it out. Any ideas? I've attached an example document that this happens to, with the prs505-p profile.
Attached Files
File Type: pdf SVM_Notes.pdf (74.8 KB, 156 views)
frikk is offline   Reply With Quote
Old 04-23-2009, 10:47 PM   #245
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by frikk View Post
Hey guys.

Does PDFRead support splitting? I have some large text books where I imagine splitting the books up by chapter into separate files may be a good idea (slow read times). Is there any kind of functionality like this, or would it rely on a third party tool?
If you place an empty file called 'debug' in the PDFRead install directory, then the resulting .png's are left behind and can be reassembled however you see fit. A bit more work, but at least you will know where to split things.

There is no way to automate a split as only images are extracted from the .pdf source, not text/tags.
nrapallo is offline   Reply With Quote
Old 04-23-2009, 11:02 PM   #246
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by frikk View Post
Hello. PDFRead rocks! Thanks guys!

I do have a bug report. Is here the appropriate place to put it? I have found that on my PDFs that have an incomplete last page, pdfread ends up stretching it out. Any ideas? I've attached an example document that this happens to, with the prs505-p profile.
You just found the old Sony stretched page bug that was fixed with the EDIT: 14 Oct 2008 - FOR SONY USERS at the bottom of post #1 in his thread.

After executing the PDFRead Installer, from pdfread-MinFilter3-mod-bin.zip unzip the modified PDFRead 1.8.2.1 bin files (using the original MinFilter 3 dilate) into the bin directory and overwrite the existing files.

Should you wish to try the new MinFilter 5 dilate, unzip pdfread-MinFilter5-mod-bin.zip into the bin directory instead! (Note: you may have to increase the DPI to 500 when using the MinFilter 5 dilate to get acceptable results!)

Below are three Sony-PRS .lrf files, one using MinFilter3 with 300 DPI, another using MinFilter5-300DPI and another using MinFilter5-500DPI. Notice the differences?

Apparently, those same images in a .epub look even better!
Attached Files
File Type: lrf SVM_Notes-MinFilter3-300DPI.lrf (178.0 KB, 228 views)
File Type: lrf SVM_Notes-MinFilter5-300DPI.lrf (177.0 KB, 223 views)
File Type: lrf SVM_Notes-MinFilter5-500DPI.lrf (180.1 KB, 195 views)
nrapallo is offline   Reply With Quote
Old 04-26-2009, 07:53 PM   #247
frikk
Amateur PRS505'er
frikk began at the beginning.
 
frikk's Avatar
 
Posts: 22
Karma: 10
Join Date: Apr 2009
Location: Cincinnati
Device: sony rs-505
Quote:
Originally Posted by nrapallo View Post
You just found the old Sony stretched page bug that was fixed with the EDIT: 14 Oct 2008 - FOR SONY USERS at the bottom of post #1 in his thread.

After executing the PDFRead Installer, from pdfread-MinFilter3-mod-bin.zip unzip the modified PDFRead 1.8.2.1 bin files (using the original MinFilter 3 dilate) into the bin directory and overwrite the existing files.

Should you wish to try the new MinFilter 5 dilate, unzip pdfread-MinFilter5-mod-bin.zip into the bin directory instead! (Note: you may have to increase the DPI to 500 when using the MinFilter 5 dilate to get acceptable results!)

Below are three Sony-PRS .lrf files, one using MinFilter3 with 300 DPI, another using MinFilter5-300DPI and another using MinFilter5-500DPI. Notice the differences?

Apparently, those same images in a .epub look even better!

Thanks a bunch!
frikk is offline   Reply With Quote
Old 05-05-2009, 06:31 AM   #248
freecia
Enthusiast
freecia has a complete set of Star Wars action figures.freecia has a complete set of Star Wars action figures.freecia has a complete set of Star Wars action figures.freecia has a complete set of Star Wars action figures.
 
Posts: 49
Karma: 378
Join Date: Dec 2002
Location: CA
Device: kindle 3 3g+wifi, kindle 2, kindle 1
pdfread on osx

Having a small issue with getting PDFRead to work on OSX. Followed the various posts so far as I can tell, also installed PIL successfully after installing freetype2.

Can someone take a look?

cmd:
python src/pdfread.py -p prs505-p -o output.prc -t Title -a "Author Name" -i pdf --dpi=16 -d ./temp input.pdf

terminal:
Temporary directory: ./temp

Page 1/621: EXTRACT RASTERIZE CROP DILATE SAVE Traceback (most recent call last):
File "/Applications/Kindle/PDFRead/src/pdfread.py", line 207, in <module>
main()
File "/Applications/Kindle/PDFRead/src/pdfread.py", line 84, in main
options.unpaper_args, options.no_crop, options.no_dilate)
File "/Applications/Kindle/PDFRead/src/pdfread.py", line 63, in convert
output.add_page(page, mode_tranform(image))
File "/Applications/Kindle/PDFRead/src/common.py", line 153, in add_page
self.downsample(image, filename)
File "/Applications/Kindle/PDFRead/src/common.py", line 163, in downsample
call('pngnq', '-fs', '1', '-n', str(self.colors), 'page.png')
File "/Applications/Kindle/PDFRead/src/common.py", line 201, in call
stderr = subprocess.STDOUT)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 593, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 1079, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Produces this error using python 2.5 and 2.6

Note: all fixed! Thanks for the reminder nrapallo. I had to sudo the install cmd for pngnq.

Last edited by freecia; 05-12-2009 at 01:01 AM.
freecia is offline   Reply With Quote
Old 05-05-2009, 07:27 AM   #249
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by freecia View Post
File "/Applications/Kindle/PDFRead/src/common.py", line 163, in downsample
call('pngnq', '-fs', '1', '-n', str(self.colors), 'page.png')

OSError: [Errno 2] No such file or directory
I don't have any way to test this on MAC OS X, but those lines above seem to indicate that either
- the 'pngnq' command cannot be found in the commands' path or bin directory or
- the newly created file 'page.png' cannot be found in the temp directory (or with the '.png' extenstion).

Do you see these files named EXACTLY as above in those directories? Did you use the empty 'debug' file in the PDFRead install directory to leave behind the temp directory's contents?

Have you tried this without the '-d ./temp' and let MAC OS X determine where the temp directory will be?

Last edited by nrapallo; 05-05-2009 at 08:11 PM. Reason: typo
nrapallo is offline   Reply With Quote
Old 05-08-2009, 04:28 AM   #250
alrumich
Enthusiast
alrumich doesn't litteralrumich doesn't litter
 
alrumich's Avatar
 
Posts: 38
Karma: 166
Join Date: Apr 2009
Location: Ann Arbor
Device: PRS-700, iPod Touch, Samsung Q1U, HP Pavilion tx2500
Can the original resolution of images be preserved?
alrumich is offline   Reply With Quote
Old 05-08-2009, 07:26 AM   #251
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by alrumich View Post
Can the original resolution of images be preserved?
Yes, somewhat but only if you know the original resolution and it's contant throughtout the document.

Just override the profile settings by using the 'Size H and V' input boxes (the GUI limits the H and V sizes to be max four digits, i.e. 9999).

If you are not making an ebook, just use the 'generic' profile, 'html' Out Format and specify the main resolution as above. Just be aware that the resulting images may not all be at that full original resolution as the pages can be cropped, i.e white margin removed.

Hope this helps!
nrapallo is offline   Reply With Quote
Old 05-11-2009, 06:31 PM   #252
dsbook
Junior Member
dsbook began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2009
Device: ebookwise
Hi, I want to transfer pdf files to my ebookwise reader. What all do I have to download? I have Acrobat 5.0 and it has RSA DATA Security on it and I use firefox. Simple please,lol.

I have heard many good things about this program
dsbook is offline   Reply With Quote
Old 05-11-2009, 08:56 PM   #253
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by dsbook View Post
Hi, I want to transfer pdf files to my ebookwise reader. What all do I have to download? I have Acrobat 5.0 and it has RSA DATA Security on it and I use firefox. Simple please,lol.

I have heard many good things about this program
If the .pdf is encrypted or password protected, then PDFRead will not be able to convert the .pdf to images and then to your eBookwise 1150 (aka EBW1150).

You can try it, by just installing the program, after first unzipping it from 'pdfread-1.8.2-Installer.zip'. You should accept the default install directory and then launch the PDFRead GUI by using the shortcut added to your Start Menu.

Then choose the 'EBW1150' profile, like this screenshot:
and also select the Out Format to be 'imp2'.

Use the '...' button after the Input box to select your .pdf to be converted and click 'Convert'.

Hope this helps!
nrapallo is offline   Reply With Quote
Old 05-12-2009, 06:22 PM   #254
alxwang
Connoisseur
alxwang began at the beginning.
 
Posts: 93
Karma: 14
Join Date: Mar 2009
Device: Kindle DX, PocketBook 360
PDFRead is awesome!
I have a PDF file even adobe can not export to png but PDF Reader just did the job for me!
Thanks.
alxwang is offline   Reply With Quote
Old 05-13-2009, 05:59 PM   #255
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,665
Karma: 18475502
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Message deleted
JSWolf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help using PDFRead daithi81 Workshop 8 10-16-2009 09:33 AM
Need help with PDFRead pfisterfarm PDF 8 03-23-2009 09:19 AM
pdfread cybook x3oo Cybook 2 03-09-2009 11:49 AM
PDFRead 1.7 released ashkulz PDF 87 03-12-2008 10:29 AM
PDFRead v5 available on Sourceforge Alexander Turcic PDF 3 04-08-2007 06:31 AM


All times are GMT -4. The time now is 03:04 AM.


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