I have found a way to make an image of a hat/accessory appear in game, using http://www.roblox.com/Thumbs/Asset.ashx?format=png&assetId=(Id) , however this is usually really low quality
Is there any other method to getting a higher quality version or is this the best I can get?
1 Like
blokav
(blokav)
February 20, 2020, 5:48pm
#2
One method I can think of would be to insert the accessory into the game and render it inside a ViewportFrame . That may provide an additional possibility of allowing the player to rotate the image similar to what you can do on an accessory’s catalog page.
1 Like
You can use the other image endpoints found below.
I’m not sure if this will work in a salon, which is what I am trying to make (sorry I didn’t specify in the post).
1 Like
Usering
(Usering)
February 20, 2020, 5:56pm
#5
I suggest using the new rbxthumb content format. Can be used for anything with an asset id on the site, across many different sizes.
Hello Developers,
RbxThumb is a new ContentId format that allows easy loading of thumbnails. It works everywhere you would expect image ContentIds to work including in ImageLabel.Image and ContentProvider:PreloadAsync.
The format for an RbxThumb contentId is “rbxthumb://type=[ThumbnailType]&id=[TargetId]&w=[Width]&h=[Height]”. The order of parameters is enforced.
For example, if you wanted an ImageLabel with a thumbnail of my lovely avatar on it you would set the Image property to:
rbxthumb:…
1 Like