Closed EricDuminil closed 10 months ago
Nice catch, thank you ! Either the API of renderPM has changed or this is a miss from the refactoring
You should be good to go with a fresh install
pip install fretboardgtr --upgrade
Thanks for the quick feedback! It works fine now.
Describe the bug When exporting a fretboard with format 'png', a gif file (possibly with extension '.png') is written instead.
To Reproduce
fretboard.export("my_fretboard.png", format="png")
Expected behavior A PNG file should be written.
reportlab.graphics.renderPM.drawToFile
seems to default to GIF. Specifyingfmt='PNG'
in PNGExporter should fix the problem.