Skip to content

SharePoint driveItem thumbnail quality returned from Microsoft Graph API is really poor #9936

Description

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

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

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
content

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

thumbnail

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.

Metadata

Metadata

Assignees

Labels

Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Needs: Triage 🔍Awaiting categorization and initial review.sharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions