If you go to the Decals section in the Toolbox and copy an AssetID, the DecalID will be copied instead of the ImageID. There is literally no use for Decal ID anymore, to get the Image ID you must insert the image into your game as a decal and copy the TextureId property of the inserted decal object. Studio will autoconvert a decal ID into an image ID in the properties window but if you are scripting then the id you are provided with is useless unless you go through the steps specified above.
This used to be a thing, or at least there were 2 seperate options so you could pick the ID type you wanted to copy.

