Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
Microsoft Graph API.
Describe the bug / error
When fetching a thumbnail using the SharePoint driveItem method obtained from a content item such as a sitePage, listItem or hero web part that uses an image the quality of the returned generated thumbnail is really low. Compression is expected, but this goes beyond typical compression.
Original imageUrl provided from hero web part component which references a newsPost item

The generated thumbnail using sites/$siteId/lists/$listId/items/$id/driveItem/thumbnails/0/large

While the thumbnail is expected to be compressed and lower quality than the original, the quality of the thumbnail seems very poor. The jagged edges around letters and shapes is very noticeable. I don't remember this happening previously when testing this.
Steps to reproduce
Fetch a thumbnail for an image that is uploaded on SharePoint through the Microsoft Graph API.
Expected behavior
Quality to be lower but not massively noticeable or low quality like the result shown, where objects like letters have noticeable tearing and unsharp lines.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
Microsoft Graph API.
Describe the bug / error
When fetching a thumbnail using the SharePoint driveItem method obtained from a content item such as a sitePage, listItem or hero web part that uses an image the quality of the returned generated thumbnail is really low. Compression is expected, but this goes beyond typical compression.
Original

imageUrlprovided from hero web part component which references a newsPost itemThe generated thumbnail using
sites/$siteId/lists/$listId/items/$id/driveItem/thumbnails/0/largeWhile the thumbnail is expected to be compressed and lower quality than the original, the quality of the thumbnail seems very poor. The jagged edges around letters and shapes is very noticeable. I don't remember this happening previously when testing this.
Steps to reproduce
Fetch a thumbnail for an image that is uploaded on SharePoint through the Microsoft Graph API.
Expected behavior
Quality to be lower but not massively noticeable or low quality like the result shown, where objects like letters have noticeable tearing and unsharp lines.