|
|||||||
![]() |
|
|
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,681
Karma: 28549304
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then no, you're out of luck.
|
|
|
|
| Advert | |
|
|
|
|
#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,681
Karma: 28549304
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. |
|
|
|
| Advert | |
|
|
![]() |
| Tags |
| cairo, import, prs-t1 |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ImportError: No module named djvu | canadianjameson | Conversion | 12 | 04-02-2012 12:23 AM |
| Calibre 0.8.36 - Linux Compile Error - No module named dateutil.parser | jasn | Calibre | 2 | 01-22-2012 12:36 AM |
| Error on install: No module named PyQt4 | good_man | Calibre | 4 | 02-18-2011 04:10 PM |
| ImportError: No module named profiles | ould | Calibre | 11 | 02-28-2009 08:25 PM |
| ImportError: No module named pkg_resources | erik80 | Calibre | 3 | 08-02-2008 10:33 AM |