Why did I create this?
As a Roblox developer the recently used method of subtracting 1 from the Image ID to get the Decal ID no longer works and not makes it harder than ever for users to insert their images into roblox. I used to use Classy-Studio’s API but that recently stopped working and I was put at a dead end of not being able to get the Image ID anymore.
Roblox natively supports the conversion of a DecalId to an ImageId via rbxthumb ContentId, but since this project is open source I figure it still has value to provide as a resource.
How does it work?
It sends a request to roblox’s
http://www.roblox.com/asset/?id= API which returns XML data of the asset, from there I take the decal ID from the parsed XML and use that to return the Decal ID
How do I use it?
You can use the module I created or you can send your own API requests to our server!
As always It’s open sourced so that you can view all the code! Have fun hacking devs! https://glitch.com/~rbxdecal