mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
pdf image output tweaks
This commit is contained in:
parent
ee777c539a
commit
49aec87b59
@ -141,7 +141,7 @@ class ImagePDFWriter(PDFWriter):
|
||||
|
||||
self.logger.debug('Processing %s...' % item)
|
||||
|
||||
html = '<html><body><img src="%s" style="display: block; margin-left: auto; margin-right: auto; padding: 0px;" /></body></html>' % item
|
||||
html = '<html><body style="margin: 0;"><img src="%s" style="display: block; margin-left: auto; margin-right: auto; padding: 0px;" /></body></html>' % item
|
||||
|
||||
self.view.setHtml(html)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user