Insert image in AutoCAD or Civil 3D without external reference

I found this, but I don’t understand python