question

QuinnMcHugh-9105 avatar image
0 Votes"
QuinnMcHugh-9105 asked saldana-msft edited

Get photo/ API adds white border around photo

Calls to the get group photo api are adding white borders around images. See below screenshot for effect:
59657-teams-dark-mode.png

This is very noticeable when the hosting application is set to dark mode, like Teams is in this case. The API being used is:

 url: `https://graph.microsoft.com/v1.0/groups/${classId}/photos/48x48/$value`,

This is believed to be a graph API issue because the base64 image returned contains the white border, and this is in the case of an auto-generated image for the group. The issue also appears for user-uploaded images like the cardinal below:

59697-cardinal-white-border.png
59638-bw.png


microsoft-graph-usersmicrosoft-graph-identitymicrosoft-graph-groups
teams-dark-mode.png (120.5 KiB)
bw.png (11.8 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Adding right tags/teams to assist!!

0 Votes 0 ·

Thanks for pointing this out. This has been filed in the Image service backlog and we will take a look.

0 Votes 0 ·

0 Answers