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

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 03-24-2012, 10:32 AM   #16
sjvs
Enthusiast
sjvs began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2012
Device: Sony PRS-T1
That's not quite what I was looking for: I'd like to present the user with a preview of what the merge result (handwriting + book page) would look like. This involves generating a single PDF page using existing routines for merging and displaying it in the plugin interface. There doesn't have to be any user interaction with the page on display - a PDF rendered on a QWidget would be more that sufficient.

The goal is to provide the user with the possibility to change the x and y offsets and scaling of handwriting.
sjvs is offline   Reply With Quote
Old 03-24-2012, 10:34 AM   #17
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,952
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Then no, you're out of luck.
kovidgoyal is online now   Reply With Quote
Old 03-24-2012, 10:36 AM   #18
sjvs
Enthusiast
sjvs began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2012
Device: Sony PRS-T1
(note that any piece of code that will render (rasterise) a PDF into an image - which can then be shown in the interface - is fine as well!)
sjvs is offline   Reply With Quote
Old 03-24-2012, 10:39 AM   #19
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,952
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can probably easily add code to the calibre poppler python module to do the same thing that pfttoppm does. Feel free to ask if you have questions about that.
kovidgoyal is online now   Reply With Quote
Old 03-25-2012, 11:53 AM   #20
sjvs
Enthusiast
sjvs began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2012
Device: Sony PRS-T1
First version of this plugin is available: http://www.mobileread.com/forums/sho...d.php?t=173321.

For now: no preview and no EPUB support.
sjvs is offline   Reply With Quote
Reply

Tags
cairo, import, prs-t1

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ImportError: No module named djvu canadianjameson Conversion 12 04-01-2012 11:23 PM
Calibre 0.8.36 - Linux Compile Error - No module named dateutil.parser jasn Calibre 2 01-21-2012 11:36 PM
Error on install: No module named PyQt4 good_man Calibre 4 02-18-2011 03:10 PM
ImportError: No module named profiles ould Calibre 11 02-28-2009 07:25 PM
ImportError: No module named pkg_resources erik80 Calibre 3 08-02-2008 09:33 AM


All times are GMT -4. The time now is 12:57 AM.


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