Description of the bug
See example code, run it and see the difference.
from pathlib import Path
from pymupdf import open as open_doc
original_image_file = Path("Complete_neuron_cell_diagram_en.svg")
png_image_file = Path("Complete_neuron_cell_diagram_en.png")
with open_doc(original_image_file) as doc:
doc[0].get_pixmap(dpi=100, alpha=True).save(png_image_file)
How to reproduce the bug
PyMuPDF version
1.27.2.2
Operating system
MacOS
Python version
3.12
Description of the bug
See example code, run it and see the difference.
How to reproduce the bug
PyMuPDF version
1.27.2.2
Operating system
MacOS
Python version
3.12