Skip to content

Instantly share code, notes, and snippets.

@blar
Created November 4, 2017 15:59
Show Gist options
  • Save blar/7a2134962acfec4f53ce5e750da1bbc2 to your computer and use it in GitHub Desktop.
Save blar/7a2134962acfec4f53ce5e750da1bbc2 to your computer and use it in GitHub Desktop.
<?php
if (!function_exists('image_affine_matrix_concat')) {
function image_affine_matrix_concat()
{
return call_user_func_array('imageaffinematrixconcat', func_get_args());
}
}
if (!function_exists('image_affine_matrix_get')) {
function image_affine_matrix_get()
{
return call_user_func_array('imageaffinematrixget', func_get_args());
}
}
if (!function_exists('image_affine')) {
function image_affine()
{
return call_user_func_array('imageaffine', func_get_args());
}
}
if (!function_exists('image_alpha_blending')) {
function image_alpha_blending()
{
return call_user_func_array('imagealphablending', func_get_args());
}
}
if (!function_exists('image_antialias')) {
function image_antialias()
{
return call_user_func_array('imageantialias', func_get_args());
}
}
if (!function_exists('image_arc')) {
function image_arc()
{
return call_user_func_array('imagearc', func_get_args());
}
}
if (!function_exists('image_bmp')) {
function image_bmp()
{
return call_user_func_array('imagebmp', func_get_args());
}
}
if (!function_exists('image_char_up')) {
function image_char_up()
{
return call_user_func_array('imagecharup', func_get_args());
}
}
if (!function_exists('image_char')) {
function image_char()
{
return call_user_func_array('imagechar', func_get_args());
}
}
if (!function_exists('image_color_allocate_alpha')) {
function image_color_allocate_alpha()
{
return call_user_func_array('imagecolorallocatealpha', func_get_args());
}
}
if (!function_exists('image_color_allocate')) {
function image_color_allocate()
{
return call_user_func_array('imagecolorallocate', func_get_args());
}
}
if (!function_exists('image_color_at')) {
function image_color_at()
{
return call_user_func_array('imagecolorat', func_get_args());
}
}
if (!function_exists('image_color_closest_alpha')) {
function image_color_closest_alpha()
{
return call_user_func_array('imagecolorclosestalpha', func_get_args());
}
}
if (!function_exists('image_color_closest_hwb')) {
function image_color_closest_hwb()
{
return call_user_func_array('imagecolorclosesthwb', func_get_args());
}
}
if (!function_exists('image_color_closest')) {
function image_color_closest()
{
return call_user_func_array('imagecolorclosest', func_get_args());
}
}
if (!function_exists('image_color_deallocate')) {
function image_color_deallocate()
{
return call_user_func_array('imagecolordeallocate', func_get_args());
}
}
if (!function_exists('image_color_exact_alpha')) {
function image_color_exact_alpha()
{
return call_user_func_array('imagecolorexactalpha', func_get_args());
}
}
if (!function_exists('image_color_exact')) {
function image_color_exact()
{
return call_user_func_array('imagecolorexact', func_get_args());
}
}
if (!function_exists('image_color_match')) {
function image_color_match()
{
return call_user_func_array('imagecolormatch', func_get_args());
}
}
if (!function_exists('image_color_resolve_alpha')) {
function image_color_resolve_alpha()
{
return call_user_func_array('imagecolorresolvealpha', func_get_args());
}
}
if (!function_exists('image_color_resolve')) {
function image_color_resolve()
{
return call_user_func_array('imagecolorresolve', func_get_args());
}
}
if (!function_exists('image_color_set')) {
function image_color_set()
{
return call_user_func_array('imagecolorset', func_get_args());
}
}
if (!function_exists('image_color_transparent')) {
function image_color_transparent()
{
return call_user_func_array('imagecolortransparent', func_get_args());
}
}
if (!function_exists('image_colors_for_index')) {
function image_colors_for_index()
{
return call_user_func_array('imagecolorsforindex', func_get_args());
}
}
if (!function_exists('image_colors_total')) {
function image_colors_total()
{
return call_user_func_array('imagecolorstotal', func_get_args());
}
}
if (!function_exists('image_convolution')) {
function image_convolution()
{
return call_user_func_array('imageconvolution', func_get_args());
}
}
if (!function_exists('image_copy_merge_gray')) {
function image_copy_merge_gray()
{
return call_user_func_array('imagecopymergegray', func_get_args());
}
}
if (!function_exists('image_copy_merge')) {
function image_copy_merge()
{
return call_user_func_array('imagecopymerge', func_get_args());
}
}
if (!function_exists('image_copy_resampled')) {
function image_copy_resampled()
{
return call_user_func_array('imagecopyresampled', func_get_args());
}
}
if (!function_exists('image_copyresized')) {
function image_copyresized()
{
return call_user_func_array('imagecopyresized', func_get_args());
}
}
if (!function_exists('image_copy')) {
function image_copy()
{
return call_user_func_array('imagecopy', func_get_args());
}
}
if (!function_exists('image_create_from_bmp')) {
function image_create_from_bmp()
{
return call_user_func_array('imagecreatefrombmp', func_get_args());
}
}
if (!function_exists('image_create_from_gd2_part')) {
function image_create_from_gd2_part()
{
return call_user_func_array('imagecreatefromgd2part', func_get_args());
}
}
if (!function_exists('image_create_from_gd2')) {
function image_create_from_gd2()
{
return call_user_func_array('imagecreatefromgd2', func_get_args());
}
}
if (!function_exists('image_create_from_gd')) {
function image_create_from_gd()
{
return call_user_func_array('imagecreatefromgd', func_get_args());
}
}
if (!function_exists('image_create_from_g
if')) {
function image_create_from_g
if()
{
return call_user_func_array('imagecreatefromg
if', func_get_args());
}
}
if (!function_exists('image_create_from_jpeg')) {
function image_create_from_jpeg()
{
return call_user_func_array('imagecreatefromjpeg', func_get_args());
}
}
if (!function_exists('image_create_from_png')) {
function image_create_from_png()
{
return call_user_func_array('imagecreatefrompng', func_get_args());
}
}
if (!function_exists('image_create_from_string')) {
function image_create_from_string()
{
return call_user_func_array('imagecreatefromstring', func_get_args());
}
}
if (!function_exists('image_create_from_wbmp')) {
function image_create_from_wbmp()
{
return call_user_func_array('imagecreatefromwbmp', func_get_args());
}
}
if (!function_exists('image_create_from_webp')) {
function image_create_from_webp()
{
return call_user_func_array('imagecreatefromwebp', func_get_args());
}
}
if (!function_exists('image_create_from_xbm')) {
function image_create_from_xbm()
{
return call_user_func_array('imagecreatefromxbm', func_get_args());
}
}
if (!function_exists('image_create_from_xpm')) {
function image_create_from_xpm()
{
return call_user_func_array('imagecreatefromxpm', func_get_args());
}
}
if (!function_exists('image_create_truecolor')) {
function image_create_truecolor()
{
return call_user_func_array('imagecreatetruecolor', func_get_args());
}
}
if (!function_exists('image_create')) {
function image_create()
{
return call_user_func_array('imagecreate', func_get_args());
}
}
if (!function_exists('image_crop_auto')) {
function image_crop_auto()
{
return call_user_func_array('imagecropauto', func_get_args());
}
}
if (!function_exists('image_crop')) {
function image_crop()
{
return call_user_func_array('imagecrop', func_get_args());
}
}
if (!function_exists('image_dashed_line')) {
function image_dashed_line()
{
return call_user_func_array('imagedashedline', func_get_args());
}
}
if (!function_exists('image_destroy')) {
function image_destroy()
{
return call_user_func_array('imagedestroy', func_get_args());
}
}
if (!function_exists('image_ellipse')) {
function image_ellipse()
{
return call_user_func_array('imageellipse', func_get_args());
}
}
if (!function_exists('image_fill_to_border')) {
function image_fill_to_border()
{
return call_user_func_array('imagefilltoborder', func_get_args());
}
}
if (!function_exists('image_filled_arc')) {
function image_filled_arc()
{
return call_user_func_array('imagefilledarc', func_get_args());
}
}
if (!function_exists('image_filled_ellipse')) {
function image_filled_ellipse()
{
return call_user_func_array('imagefilledellipse', func_get_args());
}
}
if (!function_exists('image_filled_polygon')) {
function image_filled_polygon()
{
return call_user_func_array('imagefilledpolygon', func_get_args());
}
}
if (!function_exists('image_filled_rectangle')) {
function image_filled_rectangle()
{
return call_user_func_array('imagefilledrectangle', func_get_args());
}
}
if (!function_exists('image_fill')) {
function image_fill()
{
return call_user_func_array('imagefill', func_get_args());
}
}
if (!function_exists('image_filter')) {
function image_filter()
{
return call_user_func_array('imagefilter', func_get_args());
}
}
if (!function_exists('image_flip')) {
function image_flip()
{
return call_user_func_array('imageflip', func_get_args());
}
}
if (!function_exists('image_font_height')) {
function image_font_height()
{
return call_user_func_array('imagefontheight', func_get_args());
}
}
if (!function_exists('image_font_width')) {
function image_font_width()
{
return call_user_func_array('imagefontwidth', func_get_args());
}
}
if (!function_exists('image_ft_bbox')) {
function image_ft_bbox()
{
return call_user_func_array('imageftbbox', func_get_args());
}
}
if (!function_exists('image_ft_text')) {
function image_ft_text()
{
return call_user_func_array('imagefttext', func_get_args());
}
}
if (!function_exists('image_gamma_correct')) {
function image_gamma_correct()
{
return call_user_func_array('imagegammacorrect', func_get_args());
}
}
if (!function_exists('image_gd2')) {
function image_gd2()
{
return call_user_func_array('imagegd2', func_get_args());
}
}
if (!function_exists('image_gd')) {
function image_gd()
{
return call_user_func_array('imagegd', func_get_args());
}
}
if (!function_exists('image_get_clip')) {
function image_get_clip()
{
return call_user_func_array('imagegetclip', func_get_args());
}
}
if (!function_exists('image_g
if')) {
function image_g
if()
{
return call_user_func_array('imageg
if', func_get_args());
}
}
if (!function_exists('image_grab_screen')) {
function image_grab_screen()
{
return call_user_func_array('imagegrabscreen', func_get_args());
}
}
if (!function_exists('image_grab_window')) {
function image_grab_window()
{
return call_user_func_array('imagegrabwindow', func_get_args());
}
}
if (!function_exists('image_interlace')) {
function image_interlace()
{
return call_user_func_array('imageinterlace', func_get_args());
}
}
if (!function_exists('image_is_truecolor')) {
function image_is_truecolor()
{
return call_user_func_array('imageistruecolor', func_get_args());
}
}
if (!function_exists('image_jpeg')) {
function image_jpeg()
{
return call_user_func_array('imagejpeg', func_get_args());
}
}
if (!function_exists('image_layer_effect')) {
function image_layer_effect()
{
return call_user_func_array('imagelayereffect', func_get_args());
}
}
if (!function_exists('image_line')) {
function image_line()
{
return call_user_func_array('imageline', func_get_args());
}
}
if (!function_exists('image_load_font')) {
function image_load_font()
{
return call_user_func_array('imageloadfont', func_get_args());
}
}
if (!function_exists('image_open_polygon')) {
function image_open_polygon()
{
return call_user_func_array('imageopenpolygon', func_get_args());
}
}
if (!function_exists('image_palette_copy')) {
function image_palette_copy()
{
return call_user_func_array('imagepalettecopy', func_get_args());
}
}
if (!function_exists('image_palette_to_truecolor')) {
function image_palette_to_truecolor()
{
return call_user_func_array('imagepalettetotruecolor', func_get_args());
}
}
if (!function_exists('image_png')) {
function image_png()
{
return call_user_func_array('imagepng', func_get_args());
}
}
if (!function_exists('image_polygon')) {
function image_polygon()
{
return call_user_func_array('imagepolygon', func_get_args());
}
}
if (!function_exists('image_rectangle')) {
function image_rectangle()
{
return call_user_func_array('imagerectangle', func_get_args());
}
}
if (!function_exists('image_resolution')) {
function image_resolution()
{
return call_user_func_array('imageresolution', func_get_args());
}
}
if (!function_exists('image_rotate')) {
function image_rotate()
{
return call_user_func_array('imagerotate', func_get_args());
}
}
if (!function_exists('image_save_alpha')) {
function image_save_alpha()
{
return call_user_func_array('imagesavealpha', func_get_args());
}
}
if (!function_exists('image_scale')) {
function image_scale()
{
return call_user_func_array('imagescale', func_get_args());
}
}
if (!function_exists('image_set_brush')) {
function image_set_brush()
{
return call_user_func_array('imagesetbrush', func_get_args());
}
}
if (!function_exists('image_set_clip')) {
function image_set_clip()
{
return call_user_func_array('imagesetclip', func_get_args());
}
}
if (!function_exists('image_set_interpolation')) {
function image_set_interpolation()
{
return call_user_func_array('imagesetinterpolation', func_get_args());
}
}
if (!function_exists('image_set_pixel')) {
function image_set_pixel()
{
return call_user_func_array('imagesetpixel', func_get_args());
}
}
if (!function_exists('image_set_style')) {
function image_set_style()
{
return call_user_func_array('imagesetstyle', func_get_args());
}
}
if (!function_exists('image_set_thickness')) {
function image_set_thickness()
{
return call_user_func_array('imagesetthickness', func_get_args());
}
}
if (!function_exists('image_set_tile')) {
function image_set_tile()
{
return call_user_func_array('imagesettile', func_get_args());
}
}
if (!function_exists('image_string_up')) {
function image_string_up()
{
return call_user_func_array('imagestringup', func_get_args());
}
}
if (!function_exists('image_string')) {
function image_string()
{
return call_user_func_array('imagestring', func_get_args());
}
}
if (!function_exists('image_sx')) {
function image_sx()
{
return call_user_func_array('imagesx', func_get_args());
}
}
if (!function_exists('image_sy')) {
function image_sy()
{
return call_user_func_array('imagesy', func_get_args());
}
}
if (!function_exists('image_to_wbmp')) {
function image_to_wbmp()
{
return call_user_func_array('image2wbmp', func_get_args());
}
}
if (!function_exists('image_truecolor_to_palette')) {
function image_truecolor_to_palette()
{
return call_user_func_array('imagetruecolortopalette', func_get_args());
}
}
if (!function_exists('image_ttf_bbox')) {
function image_ttf_bbox()
{
return call_user_func_array('imagettfbbox', func_get_args());
}
}
if (!function_exists('image_ttf_text')) {
function image_ttf_text()
{
return call_user_func_array('imagettftext', func_get_args());
}
}
if (!function_exists('image_types')) {
function image_types()
{
return call_user_func_array('imagetypes', func_get_args());
}
}
if (!function_exists('image_wbmp')) {
function image_wbmp()
{
return call_user_func_array('imagewbmp', func_get_args());
}
}
if (!function_exists('image_webp')) {
function image_webp()
{
return call_user_func_array('imagewebp', func_get_args());
}
}
if (!function_exists('image_xbm')) {
function image_xbm()
{
return call_user_func_array('imagexbm', func_get_args());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment