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

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 05-14-2012, 01:34 PM   #31
Randy11
Fanatic
Randy11 is out to avenge the death of his or her father, Domingo Montoya.Randy11 is out to avenge the death of his or her father, Domingo Montoya.Randy11 is out to avenge the death of his or her father, Domingo Montoya.Randy11 is out to avenge the death of his or her father, Domingo Montoya.Randy11 is out to avenge the death of his or her father, Domingo Montoya.Randy11 is out to avenge the death of his or her father, Domingo Montoya.Randy11 is out to avenge the death of his or her father, Domingo Montoya.Randy11 is out to avenge the death of his or her father, Domingo Montoya.Randy11 is out to avenge the death of his or her father, Domingo Montoya.Randy11 is out to avenge the death of his or her father, Domingo Montoya.Randy11 is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 544
Karma: 34368
Join Date: Oct 2008
Device: Samsung EB60, Onyx M92
Quote:
Originally Posted by slex View Post
Variant 1
----------
pdf2djvu filename.pdf -o filename.djvu
This is quick and dirty, but it doesn't produce the best results (more suitable for conversion of text-based pdfs). The output djvu file is comparable in size with the original pdf.

Variant 2
----------
You can get better results if you put the pdf file in a separate directory. Then
pdfimages filename.pdf f
This will produce image files named f-001.pbm (if the pdf is black and white) ... or f-001.ppm (if it has color).

You have several options from then on.

Variant 2B
~~~~~~
Get the program gscan2pdf from the repositories.
You can add pbm files directly into gscan2pdf. Then export as djvu. The file will be smaller than the original pdf - probably 2-3 times - but you are unlikely to achieve the compression in Variant 2A.
Thanks Slex for yours explanations, it's woks fine !

On my Linux, I must compile and test later ScanTailor.
Randy11 is offline   Reply With Quote
Old 05-14-2012, 02:42 PM   #32
slex
Addict
slex ought to be getting tired of karma fortunes by now.slex ought to be getting tired of karma fortunes by now.slex ought to be getting tired of karma fortunes by now.slex ought to be getting tired of karma fortunes by now.slex ought to be getting tired of karma fortunes by now.slex ought to be getting tired of karma fortunes by now.slex ought to be getting tired of karma fortunes by now.slex ought to be getting tired of karma fortunes by now.slex ought to be getting tired of karma fortunes by now.slex ought to be getting tired of karma fortunes by now.slex ought to be getting tired of karma fortunes by now.
 
Posts: 280
Karma: 1125790
Join Date: Nov 2008
Location: Bulgaria
Device: Kindle 4 NT, Onyx Boox M92
Quote:
Originally Posted by Randy11 View Post
Thanks Slex for yours explanations, it's woks fine !

On my Linux, I must compile and test later ScanTailor.
It should be in the repositories of most major distributions. Probably you won't have to compile it.
slex is offline   Reply With Quote
Old 07-09-2012, 09:53 AM   #33
Inemi
Connoisseur
Inemi shares his or her toysInemi shares his or her toysInemi shares his or her toysInemi shares his or her toysInemi shares his or her toysInemi shares his or her toysInemi shares his or her toysInemi shares his or her toysInemi shares his or her toysInemi shares his or her toysInemi shares his or her toys
 
Inemi's Avatar
 
Posts: 99
Karma: 5810
Join Date: Jun 2012
Location: europe
Device: Boox i62HD
Quote:
Originally Posted by slex View Post
Variant 1
----------
pdf2djvu filename.pdf -o filename.djvu

This is quick and dirty, but it doesn't produce the best results (more suitable for conversion of text-based pdfs). The output djvu file is comparable in size with the original pdf.

Variant 2
----------
You can get better results if you put the pdf file in a separate directory. Then

pdfimages filename.pdf f

This will produce image files named f-001.pbm (if the pdf is black and white) ... or f-001.ppm (if it has color).

You have several options from then on.

Variant 2A
~~~~~~
Find a copy of the windows program DjVuSolo and install it with Wine. It works without any problems.

Then, if you have PBM files, you can add them directly to DjVuSolo. You choose File->Open->Type of file (pnm file) and select the first page. After the first page is added you go to Edit->Append Pages->Type of file (pnm file) and select all the other files by clicking on the second image file, then press the down arrow while holding shift until you select all the pages (if there are lots of pages, the program might appear to freeze - it doesn't - just give it some time - sometimes more than 5 minutes for a full-sized book of several hundred pages). After all the pages have been added, go to File-> Encode as DjVu -> Bundled -> [give the file a name and write it with the extension .djvu] -> Resolution (leave the default value - the program usually detects it), e.g. 300 and choose Bitonal from the radio button options.

The output file will be much smaller than the original pdf - probably 10 times - without visible loss of quality.

Variant 2B
~~~~~~

Get the program gscan2pdf from the repositories.

You can add pbm files directly into gscan2pdf. Then export as djvu. The file will be smaller than the original pdf - probably 2-3 times - but you are unlikely to achieve the compression in Variant 2A.

Variant 3
----------
Parse the image files through ScanTailor. This will produce the best results, but it is more time consuming. First, convert the files, so that they can be recognized by the program.

mogrify -format png *.pbm

Then add the directory with the png files into ScanTailor. After you process them, you will get files in a subdirectory called "out/". Add the files there into gscan2pdf or DjVuSolo. Export to djvu.

you can also add a variant 4, where djvusolo is replaced by minidjvu or didjvu. Best results
Inemi is offline   Reply With Quote
Old 10-10-2012, 12:42 AM   #34
markom
Addict
markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.
 
Posts: 334
Karma: 420000
Join Date: Sep 2012
Device: sony prs t1 kindle dx ipad
Quote:
Originally Posted by dead115 View Post

But then I see that some tools are not available for DJVUs in eXcel/M92.
Glyph embolden, for exemple.

Here is your Pdf printed in tile mode in Adobe Acrobat at 200x137 mm, (just first 50 pages).

Page turning should be quick and tools available.

http://www.sendspace.com/file/0bxsdw



I do it regularly before I feed scanned pdf's to my Sony Prs T1 because sometimes its tiny stomach also has similar digestion problems in landscape mode with scanned pdf's but mainly for reading bigger formats after cutting the margins.

So owners of all other 6" readers can also download and read that tiled file in landscape mode quickly and easily.

We can also do the tile-printing in freeware Adobe Reader (posters mode) or with k2pdfopt too.

http://www.mobileread.com/forums/sho...d.php?t=144711

the same 50 pages printed in k2pdfopt
http://www.sendspace.com/file/5trdnt

I've used these values:
-w 784 -h 1135 -wrap- -ls -col 1
and have also put m (margin to ignore) to zero and increased ds (document scale factor) to 1.3.

Last edited by markom; 10-10-2012 at 12:54 PM.
markom is online now   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
Syncing PDFs to M92 eba Onyx Boox 18 12-17-2012 11:32 AM
Reading technical docs (PDFs/EPUBs) on M92 -bugs and workarounds PF4Mobile Onyx Boox 34 03-11-2012 08:39 AM
M92: Academic Reading of PDFs - how does it work? Defenderland Onyx Boox 22 03-03-2012 12:01 PM
Boox M92. Spring Bargains. The price of M92 stays reduced for 14 days :) Booxtor Onyx Boox 5 03-02-2012 05:16 AM
Review of the Icarus Bluefire G2 tablet... Hans de Cock Alternative Devices 5 07-06-2011 04:13 PM


All times are GMT -4. The time now is 02:21 PM.


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