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

Go Back   MobileRead Forums > E-Book General > General Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 05-24-2013, 12:20 PM   #1
Fallingwater
Enthusiast
Fallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura about
 
Posts: 30
Karma: 4132
Join Date: Jun 2011
Device: Bookeen Cybook Opus
Converting text to jpegs for visualizing on frames/players

I have an eBook I'd like to read on a media player and possibly an old picture frame. Neither has a feature for reading text files.

I unpacked the epub using Calibre and I manually had at the HTML code with a metaphorical chainsaw. All <p> tags were replaced by two carriage returns (ctrl+enter in EditPad's search-and-replace tool), all italic tags were replaced by slashes, and all bold tags by asterisks. Everything else was stripped. The result is one big standard ASCII .txt file that still reads perfectly fine.

I'm aware of two ebook-to-jpg programs: Zune eBook creator and EBook to Images.

I tried the trial version of the former, and it converted all of ONE line, leaving everything else completely blank. Woopty-doo.

The latter does the conversion, but entirely skips all carriage returns, resulting in a condensed wall of text that is very hard to read.

Is there a better way of doing this? Another program perhaps? Or can I just convince Ebook to Images to respect the paragraph spacing somehow? According to screenshots I've seen it should do this natively, but for some reason doesn't.

I've been Googling for the best part of the afternoon, but all it returns are online converters that don't let me specify a resolution and office converters that only do A4 pages, not to mention a lot of useless spammy sites.

Last edited by Fallingwater; 05-24-2013 at 12:25 PM.
Fallingwater is offline   Reply With Quote
Old 05-24-2013, 01:11 PM   #2
John F
Wizard
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 2,369
Karma: 8581888
Join Date: Feb 2009
Device: Kobo Glo
Maybe Ghostscript?

Use Calibre to generate a PDF. Than use ghostscript to export the pages as images?

Good luck.
John F is offline   Reply With Quote
Old 05-24-2013, 01:24 PM   #3
ApK
What did you call me?
ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.
 
Posts: 4,565
Karma: 35102999
Join Date: Feb 2010
Location: NJ, USA
Device: Kindle
Quote:
Originally Posted by John F View Post
Maybe Ghostscript?

Use Calibre to generate a PDF. Than use ghostscript to export the pages as images?

Good luck.
If he ends up with a PDF with appropriate pages, then there are far simpler tools than Ghostscript for exporting pdf pages as images, unless you already have GS setup and know how to use it

For that matter, if it's a short book (and who's going to read a long book on a picture frame?) then you could just view the epub in any reader app and manually use a screen snipping tool to grab the images.

Last edited by ApK; 05-24-2013 at 01:27 PM.
ApK is offline   Reply With Quote
Old 05-24-2013, 02:38 PM   #4
fjtorres
Grand Sorcerer
fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.
 
Posts: 8,057
Karma: 61732902
Join Date: May 2009
Location: 26 kly from Sgr A*
Device: PRS-T1, KT, PB701/IQ, K2, PB360, BeBook One, Axim51v, TC1000
Adobe Acrobat and Powerpoint both allow the export of documents/presentations as folders of jpegs. Libre Office has simillar capabilities under "export" (and it's free).

Also, years ago, there were a whole bunch of text to jpeg converters for the Sony Paystation portable.
This one seems halfway decent:
http://download.cnet.com/Psp-Ebook-C...-10499628.html
fjtorres is offline   Reply With Quote
Old 05-26-2013, 04:26 PM   #5
Fallingwater
Enthusiast
Fallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura about
 
Posts: 30
Karma: 4132
Join Date: Jun 2011
Device: Bookeen Cybook Opus
Thanks, I will try these.

In the meantime, do you know why would Ebook to Images behave like that? This problem has irritated me enough that I've raised it to a question of principle and now really want to beat the silly thing into submission.
Fallingwater is offline   Reply With Quote
Old 05-26-2013, 08:42 PM   #6
curtw
Outside of a dog
curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.
 
curtw's Avatar
 
Posts: 589
Karma: 1371114
Join Date: Dec 2007
Location: Houston, TX
Device: iPod Touch, Kindle 3, Nexus 7, Sony PRS-T2
Rats! I was looking for help on this a few weeks ago, and got no responses. Did not realize that Powerpoint would do it.

{EDIT} Well, Powerpoint did not pick up on page breaks. Tried to fit 20 pages of text onto a single slide. Of course, most of it overflows the slide, and then does not make it into the image.

Last edited by curtw; 05-26-2013 at 09:09 PM.
curtw is offline   Reply With Quote
Old 05-27-2013, 11:30 AM   #7
Fallingwater
Enthusiast
Fallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura about
 
Posts: 30
Karma: 4132
Join Date: Jun 2011
Device: Bookeen Cybook Opus
I tried getting Ebook to Images to convert the native un-textified html. No change.
Fallingwater is offline   Reply With Quote
Old 05-27-2013, 12:02 PM   #8
teh603
Snarky Snark
teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.
 
teh603's Avatar
 
Posts: 1,198
Karma: 6244877
Join Date: Sep 2011
Location: Coastal Texas
Device: Asus TF300
Thought about looking at how the Txtr Beagle does its rasterization? The stupid thing is basically a 16-gig picture frame that can only hold four ebooks because it rasterizes each page into a separate jpeg image.
teh603 is offline   Reply With Quote
Old 07-02-2013, 01:01 PM   #9
Fallingwater
Enthusiast
Fallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura aboutFallingwater has a spectacular aura about
 
Posts: 30
Karma: 4132
Join Date: Jun 2011
Device: Bookeen Cybook Opus
I thought I'd mention I finally tracked down the problem that caused EBook to Images to misbehave, for anyone who might happen to have the same problem.

If you're using a third-party text editor (specifically Editpad, but it might happen with others) and getting the same problem, copypaste the whole of the document in Wordpad and save it as .txt. The converter obviously expects carriage return characters different from those Editpad uses.
Fallingwater is offline   Reply With Quote
Old 07-02-2013, 01:27 PM   #10
teh603
Snarky Snark
teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.
 
teh603's Avatar
 
Posts: 1,198
Karma: 6244877
Join Date: Sep 2011
Location: Coastal Texas
Device: Asus TF300
Quote:
Originally Posted by Fallingwater View Post
If you're using a third-party text editor (specifically Editpad, but it might happen with others) and getting the same problem, copypaste the whole of the document in Wordpad and save it as .txt. The converter obviously expects carriage return characters different from those Editpad uses.
Could be a platform issue? For example, a Linux text editor expects Linux line endings, so I have to set my text editors to use Windows line endings instead. Minor, but potentially game breaking.
teh603 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
Problem with image converting to text GOGGS75 Conversion 7 09-23-2012 03:21 PM
Converting audio to text files pschmid enTourage Archive 5 11-22-2010 10:49 PM
Converting certain punctuations from text to epub greenapple Calibre 2 05-28-2010 09:27 PM
Converting OCR Text files jedavis1 Workshop 10 10-01-2009 11:09 PM
Converting text to PDF with a2ps chrylis iRex 7 11-23-2007 12:46 PM


All times are GMT -4. The time now is 02:05 AM.


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