SVGExporter: Correct image pixelation.
This commit is contained in:
parent
88931bc4a5
commit
1e81f3dad0
@ -69,6 +69,13 @@ xmlHeader = """\
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>pyqtgraph SVG export</title>
|
||||
<desc>Generated with Qt and pyqtgraph</desc>
|
||||
<style>
|
||||
image {
|
||||
image-rendering: crisp-edges;
|
||||
image-rendering: -moz-crisp-edges;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
</style>
|
||||
"""
|
||||
|
||||
def generateSvg(item, options={}):
|
||||
|
Loading…
Reference in New Issue
Block a user