GetUserThumbnailAsync does not clarify weird behaviour regarding Enum.ThumbnailType.AvatarBust and Enum.ThumbnailSize.Size48x48

If using Enum.ThumbnailType.AvatarBust and Enum.ThumbnailSize.Size48x48 together, the returned image from the GetUserThumbnailAsync API will actually be 50x50 and not 48x48! While this is a very small difference in size, it could deeply harm users which are querying specifically sized images to minimise scaling artifacts as the 2 pixel difference deeply reduces image quality. This should be clarified in the documentation as it is certainly not apparent until you actually look into the returned url, the reason why this is the case is because 48x48 is not a valid size for the AvatarBust thumbnail type. (I cannot provide visual-evidence of this in the topic as a recent bug wizard update removed markdown from this category)

Page URL: https://create.roblox.com/docs/reference/engine/classes/Players#GetUserThumbnailAsync

1 Like

Thanks for the report! I filed a ticket in our internal database and we’ll follow up when we have an update for you.

Thanks for your report.

We will fix this on the GetUserThumbnailAsync implementation side rather than on the documentation side. It will return 48x48 for consistency. This fix should ship in 1 to 2 weeks.

2 Likes

The fix for this should now be shipped!

Thanks again for the report.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.