Commit 3a82036
authored
Allow SVGWriter to avoid having the background element (#211)
Modify SVGWriter to be able to avoid having the background element on SVG
images
If you set the "background" to None or (255,255,255,0) (i.e. transparent) in
the writer_options parameter when calling render then the background will not
be written in the SVG (instead of having a rectangle).
This is because transparent background does not seem to work in the current
library (it is black)1 parent 23e4a67 commit 3a82036
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
340 | 341 | | |
341 | 342 | | |
342 | 343 | | |
| |||
0 commit comments