Forum Discussion
PNG image exported by ExportTo REST API is small/blurred
- 6 years ago
Hi latearrival ,
It can see either in desktop or service, check it in deskto: "View" - “Page View"
Best regards,
Hi latearrival ,
What is the size of page? It seems does not the common 16:9 or 4:3, does there any custom height and width applied? we test with a 16:9 page and it return a 1280*740 PNG different, does this page is set as "Actual Size"?
Update : We try to use the Actual Size and get similar result as yours, could you please try if it can export as desire when set "fit page"?
Best regards,
- latearrival6 years ago
Advocate I
Hi v-lid-msft
In desktop, my page size is set to Custom: 746 width x 1056 height. This is an A4 ratio.
I'm new to Power BI, where do I set "Fit to page", please? Is this a desktop or an app.powerbi.com setting?
- v-lid-msft6 years ago
Community Support
Hi latearrival ,
It can see either in desktop or service, check it in deskto: "View" - “Page View"
Best regards,- latearrival6 years ago
Advocate I
Changing View to 'Fit to Page' worked. Thank you!
Do you think this is a bug? It seems strange that a 'View' setting should impact the size of the export PNG. Exporting to PDF worked perfectly when the View was set to 'Actual Size'.
- sanjeevgaut5 years agoFrequent Visitor
can you share code or any help. i am also trying to export to image, but no success. I have followed powerbi documentations but no luck. I m getting entire report. i just need single page.
https://docs.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file
- latearrival5 years ago
Advocate I
I'm sorry, but I don't think I can help. The report we're exporting to PNG is a single page report.