You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exporter = QgsLayoutExporter(layout)
settings = QgsLayoutExporter.ImageExportSettings()
#The idea is that here you can change setting attributes e.g.
#settings.cropToContents = True
#settings.dpi = 150
result = exporter.exportToImage(png_path, settings)
These parameters were not used in the code.
The text was updated successfully, but these errors were encountered: