|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#16 |
Enthusiast
![]() 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. |
![]() |
![]() |
![]() |
#17 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,188
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then no, you're out of luck.
|
![]() |
![]() |
![]() |
#18 |
Enthusiast
![]() 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!)
|
![]() |
![]() |
![]() |
#19 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,188
Karma: 27110894
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.
|
![]() |
![]() |
![]() |
#20 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Mar 2012
Device: Sony PRS-T1
|
First version of this plugin is available: https://www.mobileread.com/forums/sho...d.php?t=173321.
For now: no preview and no EPUB support. |
![]() |
![]() |
![]() |
Tags |
cairo, import, prs-t1 |
|
![]() |
||||
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 |