Interestin where you get this function "ImageSuperpose()"?
PHP not have this function. Maby you're get this function from other language or other library not in GD? See "imagemagick" maby in this library your can get this function.