private static function optionsToParameters($options)
    {
        $optionsCopy = \Cloudinary::array_copy($options);
        $transformation = \Cloudinary::generate_transformation_string($optionsCopy);
        $format = \Cloudinary::option_get($options, "format", "");
        $type = \Cloudinary::option_get($options, "type", "upload");
        $resourceType = \Cloudinary::option_get($options, "resource_type", "image");

        return [$type, $resourceType, $transformation, $format];
    }