src/SpeedUpEssentials/Helper/Spritify.php
public function makeSprite($path, $file) {
        $sprite = $this->create_image();
        $func = "image" . $this->image_type;
        $func($sprite, $path . $file . '.' . $this->image_type);
        $this->spriteFilename = $file . '.' . $this->image_type;
        ImageDestroy($sprite);
    }
public function makeSprite($path, $file) {
        $sprite = $this->create_image();
        $func = "image" . $this->image_type;
        $func($sprite, $path . $file . '.' . $this->image_type);
        $this->spriteFilename = $file . '.' . $this->image_type;
        ImageDestroy($sprite);
    }
public function makeSprite ( $ path , $ file ) { $ sprite = $ this -> create_image ( ) ; $ func = "image" . $ this -> image_type ; $ func ( $ sprite , $ path . $ file . '.' . $ this -> image_type ) ; $ this -> spriteFilename = $ file . '.' . $ this -> image_type ; ImageDestroy ( $ sprite ) ; }
/*
saves image to path
/ * saves image to path